summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metrics.go2
-rw-r--r--modules/caddyhttp/metrics.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/metrics.go b/metrics.go
index 9a56f73..8a50260 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 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