m_exponential_histogram

m_exponential_histogram(metricName: string, [filter: bool]?) -> exponential_histogram

Selects a metric that must be an OpenTelemetry exponential histogram (object representation) inside align. Metadata must report exponentialHistogram when the metric is declared; the object value column from the metric interface supplies the payload. If metadata is absent the compiler still sets exponential mode so inconsistent definitions surface when available. Classic histograms belong with m_histogram; other object metrics use m_object. Optional boolean filter restricts rows after the name match. Usage outside align is rejected.

Domain

This is a scalar function (calculates a single output value for a single input row).

Categories

Examples

align 5m, frame(back: 5m), o: histogram_quantile(m_exponential_histogram("body_size"), 0.9)

Reads an exponential histogram metric and outputs the approximate 90th percentile for each five-minute bin.