diff options
author | Dave Henderson <dhenderson@gmail.com> | 2022-01-22 19:30:16 -0500 |
---|---|---|
committer | Dave Henderson <dhenderson@gmail.com> | 2022-01-25 15:07:17 -0500 |
commit | 042abeb431c55a12cc101efdb75b1c1b67340cb4 (patch) | |
tree | f6ae7884c8071bd2f26ac53231d1c471829bec3a /modules/caddyhttp | |
parent | eb891d46831252c5329218bfbb606727685fea72 (diff) |
other is not uppercase
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'modules/caddyhttp')
-rw-r--r-- | modules/caddyhttp/metrics.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |