Skip to content

Commit

Permalink
fix: add label to metric (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
vgorkavenko committed Jun 30, 2023
1 parent 4815355 commit e324034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/prometheus/prometheus.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ export class PrometheusService implements OnApplicationBootstrap {
public totalBalance24hDifference = this.getOrCreateMetric('Gauge', {
name: METRIC_TOTAL_BALANCE_24H_DIFFERENCE,
help: 'Total balance difference (24 hours)',
labelNames: [],
labelNames: ['nos_module_id'],
});

public operatorBalance24hDifference = this.getOrCreateMetric('Gauge', {
Expand Down

0 comments on commit e324034

Please sign in to comment.