diff --git a/api/metrics/index.js b/api/metrics/index.js index 0b695ccd5..2e9dc87a3 100644 --- a/api/metrics/index.js +++ b/api/metrics/index.js @@ -8,7 +8,7 @@ const metric = { http: { requests: { - duration: new client.Summary('request_duration_seconds', 'request duration in seconds', ['service', 'method', 'route', 'status_code']), + duration: new client.Histogram('request_duration_seconds', 'request duration in seconds', ['service', 'method', 'route', 'status_code']), } } }