m_exponential_histogram¶
Description¶
Select an OpenTelemetry exponential histogram metric for the align verb.
For other metrics, please use m()
, m_tdigest()
, or m_histogram()
instead.
Return type¶
exponential_histogram
Domain¶
This is a scalar function (calculates a single output value for a single input row.)
Categories¶
Usage¶
m_exponential_histogram(metricName, [ filter ])
Argument |
Type |
Optional |
Repeatable |
Restrictions |
---|---|---|---|---|
metricName |
string |
no |
no |
none |
filter |
bool |
yes |
no |
none |
Examples¶
align 5m, latency: histogram_combine(m_exponential_histogram("response_latency"))
An OpenTelemetry exponential histogram metric response_latency
is selected for align
using m_exponential_histogram
. It is then aggregated into 5min time bins using histogram_combine
.