MCPcopy Create free account
hub / github.com/prometheus/prometheus / WrapHandler

Method WrapHandler

web/api/v1/openapi.go:127–129  ·  view source on GitHub ↗

WrapHandler returns the handler unchanged (no validation).

(next http.HandlerFunc)

Source from the content-addressed store, hash-verified

125
126// WrapHandler returns the handler unchanged (no validation).
127func (*OpenAPIBuilder) WrapHandler(next http.HandlerFunc) http.HandlerFunc {
128 return next
129}
130
131// searchDefaultLimit returns the effective default for the search "limit" parameter,
132// capped by the operator-configured MaxSearchLimit when it is smaller.

Callers 1

RegisterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected