Skip to content

Commit

Permalink
other is not uppercase
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Henderson <[email protected]>
  • Loading branch information
hairyhenderson committed Jan 25, 2022
1 parent eb891d4 commit 042abeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,5 @@ func sanitizeMethod(m string) string {
return m
}

return "other"
return "OTHER"
}
2 changes: 1 addition & 1 deletion modules/caddyhttp/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 042abeb

Please sign in to comment.