chore: add label to apm
continuous-integration/drone/tag Build is passing Details
continuous-integration/drone/push Build is passing Details

pull/78/head 1.0.5-production.2
irfan 2024-09-03 11:45:30 +00:00
parent 5666c31dfa
commit 539676aa30
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,
});
apmTransactions.setLabel('Id', data?.id);
apmTransactions.setLabel('Code', data?.code);
apmTransactions.setLabel('Status', data?.status);
await this.dataService.create(queryRunner, TransactionModel, data);