Skip to content

Commit

Permalink
fix: bad metric name
Browse files Browse the repository at this point in the history
  • Loading branch information
sanoel committed Nov 19, 2024
1 parent 68d19e4 commit 45ff94d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oada/jobs",
"version": "4.7.2",
"version": "4.7.3",
"description": "A library for oada job based microservices",
"source": "src/index.ts",
"main": "dist/index.js",
Expand Down
6 changes: 3 additions & 3 deletions src/Service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export class Service {
labelNames: ['service', 'type', 'state'] as const,
}),
'job-times': new Histogram({
name: 'job-times',
name: 'job_times',
help: 'Histogram of job times',
labelNames: ['service', 'type', 'status'] as const,
buckets: [
Expand All @@ -163,8 +163,8 @@ export class Service {
131072, // 1.52 days
262144, // 3.04 days
524288 // 6.08 days
]
})
],
}),
};

if (object.opts) {
Expand Down

0 comments on commit 45ff94d

Please sign in to comment.