m_histogram
m_histogram(metricName: string, [filter: bool]?) -> histogram
Select an OpenTelemetry explicit bucket histogram metric for the align verb.
For other metrics, please use m(), m_tdigest(), or m_exponential_histogram() instead.
Domain
This is a scalar function (calculates a single output value for a single input row).
Categories
Examples
align 5m, latency: histogram_combine(m_histogram("response_latency"))
An OpenTelemetry explicit bucket histogram metric response_latency is selected for align using m_histogram. It is then aggregated into 5min time bins using histogram_combine.
Updated 8 days ago