Reference to the median() function
Summary
median(<hsExpression>)
Returns time series that consist of the median values from the histogram distributions described by the expression.
Parameters
Parameter | Description |
---|---|
hsExpression | Expression describing the histogram series to extract median values from. |
Description
The median()
histogram function extracts the median value from each histogram distribution described by the expression, and returns those values as time series. A separate time series is returned for each histogram series.
Examples
This chart shows the median values of each distribution in the histogram series that is described by the expression hs(alerting.check.latency.m, customer="perftest")
. Because the specified histogram metric has one distribution per minute, this query returns a time series with one median value per minute.