Skip to main content

Module prometheus_resp

Module prometheus_resp 

Source
Expand description

prom supply the prometheus HTTP API Server compliance

Structsยง

ColumnLayout ๐Ÿ”’
The role of every column of a query result.
PromSeriesSamples ๐Ÿ”’
PrometheusJsonResponse
SeriesKeyLookup ๐Ÿ”’
The lookup key of a series in the per-series sample buffer.

Enumsยง

PromSampleValue
A sample value of the Prometheus HTTP API JSON format.

Functionsยง

empty_data ๐Ÿ”’
The empty data of a Prometheus HTTP API response of result_type.
format_prometheus_sample_value ๐Ÿ”’
Formats a sample value for the Prometheus HTTP API.
label_runs ๐Ÿ”’
Ranges of consecutive rows whose label values are all equal.
merge_annotations ๐Ÿ”’
merge_batch ๐Ÿ”’
Merge the rows of one batch into the per-series sample buffer.
prefer_label_runs ๐Ÿ”’
Decides whether to group the rows of a batch into runs that share their label values.
prometheus_native_histogram ๐Ÿ”’
samples_to_data ๐Ÿ”’
Assemble the per-series samples of buffer into the data of a Prometheus HTTP API response of result_type.