diff --git a/package.json b/package.json index d3bd392..bc9dc73 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/Service.ts b/src/Service.ts index bb5e624..f61bbbc 100644 --- a/src/Service.ts +++ b/src/Service.ts @@ -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: [ @@ -163,8 +163,8 @@ export class Service { 131072, // 1.52 days 262144, // 3.04 days 524288 // 6.08 days - ] - }) + ], + }), }; if (object.opts) {