package
2.25.0-snrc.5
Repository: https://github.com/rajvikram/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.