Browse Source

other is not uppercase

Signed-off-by: Dave Henderson <dhenderson@gmail.com>
master
Dave Henderson 3 years ago
parent
commit
042abeb431
No known key found for this signature in database GPG Key ID: 765A97405DCE5AFA
  1. 2
      metrics.go
  2. 2
      modules/caddyhttp/metrics.go

2
metrics.go

@ -97,5 +97,5 @@ func sanitizeMethod(m string) string {
return m return m
} }
return "other" return "OTHER"
} }

2
modules/caddyhttp/metrics.go

@ -180,7 +180,7 @@ func sanitizeMethod(m string) string {
return m return m
} }
return "other" return "OTHER"
} }
// taken from https://github.com/prometheus/client_golang/blob/6007b2b5cae01203111de55f753e76d8dac1f529/prometheus/promhttp/instrument_server.go#L298 // taken from https://github.com/prometheus/client_golang/blob/6007b2b5cae01203111de55f753e76d8dac1f529/prometheus/promhttp/instrument_server.go#L298

Loading…
Cancel
Save