diff --git a/metrics.go b/metrics.go index 9a56f733..8a502601 100644 --- a/metrics.go +++ b/metrics.go @@ -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 8aa91846..f2023cf2 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