Skip to main content

Module histogram

Module histogram 

Source
Expand description

Range functions over windows that hold native histogram samples, following the histogram branches of Prometheus’ range functions. Windows of floats alone never get here.

EnumsΒ§

Sample πŸ”’
One sample of a window, in the order Prometheus merges floats and histograms.

FunctionsΒ§

edges πŸ”’
Prometheus funcResets and funcChanges over floats and histograms: a change of kind counts as one edge.
evaluate πŸ”’
The window of one field at eval_ts, holding histograms (not empty) and floats when it has any float sample.
function_name πŸ”’
has_contradictory_reset_hints πŸ”’
histogram_rate πŸ”’
Prometheus histogramRate: the increase from the first to the last histogram, adding back what counter resets dropped. None when the histograms mix exponential and custom buckets.
last_two πŸ”’
Prometheus instantValue over the last two samples of either kind; a float and a histogram give nothing.
merged πŸ”’
The samples of both kinds in time order.
record_histogram_flavor_warning πŸ”’
The info a rate/increase/delta window owes when adjacent histograms carry different custom bucket bounds and the fold has to reconcile them.
record_histogram_pair_annotations πŸ”’
record_info πŸ”’
record_mixed_last_two πŸ”’
record_warning πŸ”’

Type AliasesΒ§

Histograms πŸ”’
Histogram samples of one window at their shifted timestamps, in time order.