package
2.26.1+incompatible
Repository: https://github.com/universe111/prometheus.git
Documentation: pkg.go.dev
# Functions
ContextFromRequest returns a new context with identifiers of the request to be used later when logging the query.
ContextWithPath returns a new context with the given path to be used later when logging the query.
SetCORS enables cross-site script calls.
# Structs
CompressionHandler is a wrapper around http.Handler which adds suitable response compression based on the client's Accept-Encoding headers.