Skip to content

Commit e249482

Browse files
committed
Covert httpRequestDuration histogram bucket to seconds
1 parent de7186c commit e249482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/middlewares/metrics/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const httpRequestDuration = new client.Histogram({
3030
name: 'http_request_duration_seconds',
3131
help: 'Duration of HTTP requests in seconds',
3232
labelNames: labelNames,
33-
buckets: [ 1, 50, 100, 500],
33+
buckets: [ 0.01, 0.1, 0.5, 1, 10],
3434
registers: [register],
3535
});
3636

0 commit comments

Comments
 (0)