Skip to main content

Module histograms_block_processor

Module histograms_block_processor 

Source
Expand description

Implementation of BlockProcessor for OTel histograms (Histogram / ExponentialHistogram → otel_histograms) BlockProcessor for OTLP ResourceMetrics payloads → otel_histograms rows.

Handles Histogram and ExponentialHistogram data points, one row each. The bucket layout is sealed in the histogram column (see OtelHistogram); Sum/Gauge/Summary belong to measures and are ignored here.

Structs§

OtelHistogramsBlockProcessor

Functions§

otel_histogram_from_exp_point
Converts an ExponentialHistogram data point; None if its scale is not decodable.
otel_histogram_from_point
Converts a Histogram data point; None when bucket_counts and explicit_bounds disagree.