diff options
author | Dave Henderson <[email protected]> | 2022-01-22 19:30:16 -0500 |
---|---|---|
committer | Dave Henderson <[email protected]> | 2022-01-25 15:07:17 -0500 |
commit | 042abeb431c55a12cc101efdb75b1c1b67340cb4 (patch) | |
tree | f6ae7884c8071bd2f26ac53231d1c471829bec3a | |
parent | eb891d46831252c5329218bfbb606727685fea72 (diff) | |
download | caddy-042abeb431c55a12cc101efdb75b1c1b67340cb4.tar.gz caddy-042abeb431c55a12cc101efdb75b1c1b67340cb4.zip |
other is not uppercase
Signed-off-by: Dave Henderson <[email protected]>
-rw-r--r-- | metrics.go | 2 | ||||
-rw-r--r-- | modules/caddyhttp/metrics.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/metrics.go b/metrics.go index 9a56f733a..8a502601b 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 8aa91846c..f2023cf2a 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 |