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

Commit bd16e1e

Browse files
committed
Rename HTTP metrics
1 parent 1c6d09f commit bd16e1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/works/weave/socks/cart/middleware/HTTPMonitoringInterceptor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020

2121
public class HTTPMonitoringInterceptor implements HandlerInterceptor {
2222
static final Histogram requestLatency = Histogram.build()
23-
.name("request_duration_seconds")
23+
.name("http_request_duration_seconds")
2424
.help("Request duration in seconds.")
25-
.labelNames("service", "method", "route", "status_code")
25+
.labelNames("service", "method", "path", "status_code")
2626
.register();
2727

2828
private static final String startTimeKey = "startTime";

0 commit comments

Comments
 (0)