Documentation ¶
Overview ¶
Package prom provides custom handlers that support the prometheus query endpoints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyRangeWarnings ¶ added in v0.15.16
func ApplyRangeWarnings( query string, meta *block.ResultMetadata, ) error
ApplyRangeWarnings applies warnings encountered during execution.
func NewReadHandler ¶
func NewReadHandler(opts Options, hOpts options.HandlerOptions) http.Handler
NewReadHandler creates a handler to handle PromQL requests.
func NewReadInstantHandler ¶
func NewReadInstantHandler(opts Options, hOpts options.HandlerOptions) http.Handler
NewReadInstantHandler creates a handler to handle PromQL requests.
Types ¶
Click to show internal directories.
Click to hide internal directories.