Skip to main content

Module native_histogram

Module native_histogram 

Source
Expand description

Native histogram PromQL helpers.

StructsΒ§

MixedRange
Coordinated float/native-histogram range evaluation.
MixedRangeUdf πŸ”’
NativeHistogramAbsentOverTime
NativeHistogramAdd
NativeHistogramAggAvg
NativeHistogramAggSum
NativeHistogramAggregateAccumulator πŸ”’
The legacy prom_native_histogram_agg_sum/_avg accumulator.
NativeHistogramAnnotationUdf πŸ”’
NativeHistogramAvg
NativeHistogramAvgOverTime
NativeHistogramChanges
NativeHistogramCount
NativeHistogramCountOverTime
NativeHistogramDelta
NativeHistogramDivScalar
NativeHistogramDrop
NativeHistogramEq
NativeHistogramFraction
NativeHistogramIDelta
NativeHistogramIRate
NativeHistogramIncrease
NativeHistogramLastOverTime
NativeHistogramMulScalar
NativeHistogramNeg
NativeHistogramNotEq
NativeHistogramPresentOverTime
NativeHistogramQuantile
NativeHistogramRate
NativeHistogramResets
NativeHistogramScalarMul
NativeHistogramStddev
NativeHistogramStdvar
NativeHistogramSub
NativeHistogramSum
NativeHistogramSumOverTime
NativeHistogramToString
PromqlFloatToString
Formats float samples as PromQL label values.

EnumsΒ§

AnnotationLevel πŸ”’
AnnotationReturn πŸ”’
MixedRangeFunction πŸ”’
MixedRangeOutput πŸ”’
MixedRangePolicy πŸ”’
MixedSample πŸ”’
NativeHistogramAggregateKind πŸ”’
NativeHistogramRangeFloatKind πŸ”’
NativeHistogramRangeHistogramKind πŸ”’
SampleLane πŸ”’

FunctionsΒ§

checked_window_bounds πŸ”’
Decodes packed range keys into validated half-open (offset, end) bounds.
collect_window_histograms πŸ”’
combined_range_float πŸ”’
compact_lane_input πŸ”’
Filters null placeholders from one sample lane and remaps its selected windows. Windows assigned to the other lane become empty.
create_native_extrapolated_udf πŸ”’
create_native_idelta_udf πŸ”’
create_native_range_float_udf πŸ”’
create_native_range_histogram_udf πŸ”’
extract_histogram_array πŸ”’
float_histogram πŸ”’
The fold’s form of one legacy sample.
histogram_compare_udf πŸ”’
histogram_delta πŸ”’
histogram_pair_udf πŸ”’
histogram_pair_udf_with_collector πŸ”’
histogram_scalar_udf πŸ”’
histogram_string_udf πŸ”’
histogram_transform_udf πŸ”’
idelta_value πŸ”’
invoke_range_udf πŸ”’
mixed_range πŸ”’
mixed_transition πŸ”’
native_extrapolated_rate πŸ”’
native_histogram πŸ”’
The frame’s row form of one owned histogram, as the state’s histogram component.
native_histogram_aggregate_udf πŸ”’
native_histogram_range_float πŸ”’
native_histogram_range_histogram πŸ”’
native_histogram_scalar πŸ”’
native_idelta πŸ”’
range_fold_histograms πŸ”’
read_scalar_f64_arg πŸ”’
record_counter_reset_contradiction πŸ”’
record_counter_reset_contradiction_warning πŸ”’
record_custom_reconciliation πŸ”’
record_info πŸ”’
record_reconciled_custom_buckets πŸ”’
Records that two custom-bucket layouts met and the result uses the bounds they share.
record_warning πŸ”’
scalar_histogram_udf πŸ”’
select_mixed_range_lanes πŸ”’
Selects the sample lane for each window and records policy-required annotations.
spans_and_counts πŸ”’
The spans and absolute counts an owned bucket list encodes as: one span per run of consecutive bucket indices, the first span starting at its own index and every later one stating its gap.
valid_count πŸ”’
Returns the number of valid samples in the half-open window [offset, end).
validity_prefix πŸ”’
Builds prefix counts where prefix[i] is the number of valid samples in valid[..i].
weighted_histogram_mean πŸ”’