diff options
-rw-r--r-- | metrics.go | 2 | ||||
-rw-r--r-- | modules/caddyhttp/metrics.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -97,5 +97,5 @@ func sanitizeMethod(m string) string { return m } - return "other" + return "OTHER" } diff --git a/modules/caddyhttp/metrics.go b/modules/caddyhttp/metrics.go index 8aa9184..f2023cf 100644 --- a/modules/caddyhttp/metrics.go +++ b/modules/caddyhttp/metrics.go @@ -180,7 +180,7 @@ func sanitizeMethod(m string) string { return m } - return "other" + return "OTHER" } // taken from https://github.com/prometheus/client_golang/blob/6007b2b5cae01203111de55f753e76d8dac1f529/prometheus/promhttp/instrument_server.go#L298 |