From 9b39e078c03cbf97fe9fc9fc07282466a859c33d Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 23 Aug 2021 23:08:16 +0300 Subject: [PATCH] docs/MetricsQL.md: typo fix: histogram_qunatile -> histogram_quantile --- docs/MetricsQL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/MetricsQL.md b/docs/MetricsQL.md index c3b84df26..1584f3f2e 100644 --- a/docs/MetricsQL.md +++ b/docs/MetricsQL.md @@ -148,7 +148,7 @@ See also [implicit query conversions](#implicit-query-conversions). #### histogram_over_time -`histogram_over_time(series_selector[d])` calculates [VictoriaMetrics histogram](https://godoc.org/github.com/VictoriaMetrics/metrics#Histogram) over raw samples on the given lookbehind window `d`. It is calculated individually per each time series returned from the given [series_selector](https://prometheus.io/docs/prometheus/latest/querying/basics/#time-series-selectors). The resulting histograms are useful to pass to [histogram_quantile](#histogram_qunatile) for calculating quantiles over multiple gauges. For example, the following query calculates median temperature by country over the last 24 hours: `histogram_quantile(0.5, sum(histogram_over_time(temperature[24h])) by (vmrange,country))`. +`histogram_over_time(series_selector[d])` calculates [VictoriaMetrics histogram](https://godoc.org/github.com/VictoriaMetrics/metrics#Histogram) over raw samples on the given lookbehind window `d`. It is calculated individually per each time series returned from the given [series_selector](https://prometheus.io/docs/prometheus/latest/querying/basics/#time-series-selectors). The resulting histograms are useful to pass to [histogram_quantile](#histogram_quantile) for calculating quantiles over multiple gauges. For example, the following query calculates median temperature by country over the last 24 hours: `histogram_quantile(0.5, sum(histogram_over_time(temperature[24h])) by (vmrange,country))`. #### hoeffding_bound_lower