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

Commit b2308a3

Browse files
Merge pull request #83 from microservices-demo/monitoring/histogram
Change summary to histogram
2 parents fe7f982 + 5481d65 commit b2308a3

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.Summary('request_duration_seconds', 'request duration in seconds', ['service', 'method', 'route', 'status_code']),
11+
duration: new client.Histogram('request_duration_seconds', 'request duration in seconds', ['service', 'method', 'route', 'status_code']),
1212
}
1313
}
1414
}

0 commit comments

Comments
 (0)