Bound the /metrics method label (closes #261)
Some checks failed
check / check (push) Superseded by a newer commit; never tested

This commit was merged in pull request #264.
This commit is contained in:
2026-08-24 02:03:18 +02:00
parent fd5966f807
commit 763d8f8058
5 changed files with 436 additions and 19 deletions

View File

@@ -26,6 +26,10 @@ const UnmatchedRouteConst = unmatchedRoute
// inflight gauge.
const InflightHandlerConst = inflightHandler
// UnmatchedMethodConst exposes the sentinel that stands in for a
// method the router can never route.
const UnmatchedMethodConst = unmatchedMethod
// NewLoggingResponseWriterForTest wraps newLoggingResponseWriter
// for use in external test packages.
func NewLoggingResponseWriterForTest(