Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit af3b817

Browse files
authored
Merge pull request #99 from microservices-demo/rename-http-metrics
Rename prom metric names to match default HTTP dashboards
2 parents 8839ea8 + 8fc6092 commit af3b817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/metrics/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
const metric = {
99
http: {
1010
requests: {
11-
duration: new client.Histogram('request_duration_seconds', 'request duration in seconds', ['service', 'method', 'route', 'status_code']),
11+
duration: new client.Histogram('http_request_duration_seconds', 'request duration in seconds', ['service', 'method', 'path', 'status_code']),
1212
}
1313
}
1414
}

0 commit comments

Comments
 (0)