# Functions

MustLabelValue returns the first (alphabetical order) label value previously stored using WithLabelValue() from the given context.
MustLabelValues returns labels (previously stored using WithLabelValue()) from the given context.
No description provided by the author
No description provided by the author
WithActiveAlerts causes the proxy to return rules with active alerts.
WithEnabledLabelsAPI enables proxying to labels API.
WithErrorOnReplace causes the proxy to return 400 if a label matcher we want to inject is present in the query already and matches something different.
WithLabelValues stores labels in the given context.
WithPassthroughPaths configures routes to register given paths as passthrough handlers for all HTTP methods.
WithPrometheusRegistry configures the proxy to use the given registerer.
WithRegexMatch causes the proxy to handle tenant name as regexp.

# Variables

ErrEnforceLabel is returned when the label matchers couldn't be enforced.
ErrIllegalLabelMatcher is returned when the input query contains a conflicting label matcher.
ErrQueryParse is returned when the input query is invalid.

# Structs

HTTPFormEnforcer enforces a label value extracted from the HTTP form and query parameters.
HTTPHeaderEnforcer enforces a label value extracted from the HTTP headers.
PromQLEnforcer can enforce label matchers in PromQL expressions.

# Interfaces

ExtractLabeler is an HTTP handler that extract the label value to be enforced from the HTTP request.
No description provided by the author

# Type aliases

StaticLabelEnforcer enforces a static label value.