chore: add label to APM

feat/fix-couch-transaction
shancheas 2024-09-03 18:44:04 +07:00
parent 665eacd39f
commit 1a2a37d185
1 changed files with 2 additions and 0 deletions

View File

@ -86,7 +86,9 @@ export class PosTransactionHandler implements IEventHandler<ChangeDocEvent> {
sales_price_formula: sales_formula.formula_string, sales_price_formula: sales_formula.formula_string,
}); });
apmTransactions.setLabel('Id', data?.id);
apmTransactions.setLabel('Code', data?.code); apmTransactions.setLabel('Code', data?.code);
apmTransactions.setLabel('Status', data?.status);
await this.dataService.create(queryRunner, TransactionModel, data); await this.dataService.create(queryRunner, TransactionModel, data);