From 25bdadab04b934151805ce66cc799a8cf8fa2ae1 Mon Sep 17 00:00:00 2001 From: Mohit Nain Date: Wed, 20 May 2020 20:22:49 +0530 Subject: [PATCH] Fix language in docs/sources/panels/queries.md * Update docs/sources/panels/queries.md Co-authored-by: Arve Knudsen --- docs/sources/panels/queries.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/panels/queries.md b/docs/sources/panels/queries.md index d415cdeb0f1..c2ddbbad2a3 100644 --- a/docs/sources/panels/queries.md +++ b/docs/sources/panels/queries.md @@ -86,13 +86,13 @@ Panel data source query options: With streaming data, the max data points value is used for the rolling buffer. (Streaming is a continuous flow of data and buffering is a way of dividing the stream into chunks). Loki streams data in the live tailing mode. -- **Min interval -** Sets a minimum limit for the automatically calculated interval, typically the minimum scrape interval. If a data point is saved every 15 seconds, then there's no point in having an interval lower than that. Another use case is set it to a higher minimum than the scrape interval to get more coarse-grained, well-functioning queries. +- **Min interval -** Sets a minimum limit for the automatically calculated interval, typically the minimum scrape interval. If a data point is saved every 15 seconds, then there's no point in having an interval lower than that. Another use case is to set it to a higher minimum than the scrape interval to get more coarse-grained, well-functioning queries. - **Interval -** The interval is a time span that you can use when aggregating or grouping data points by time. Grafana automatically calculates an appropriate interval and it can be used as a variable in templated queries. The variable is either in seconds: `$__interval` or in milliseconds: `$__interval_ms`. It is typically used in aggregation functions like sum or average. For example, a Prometheus query using the interval variable: `rate(http_requests_total[$__interval])`. - This automatic interval is calculated based on the width of the graph. If the user zooms out a lot then the interval becomes greater, resulting in a more coarse grained aggregation whereas if the use zooms in then the interval decreases resulting in a more fine grained aggregation. + This automatic interval is calculated based on the width of the graph. If the user zooms out a lot then the interval becomes greater, resulting in a more coarse grained aggregation whereas if the user zooms in then the interval decreases resulting in a more fine grained aggregation. For more information, refer to [Global variables]({{< relref "../variables/global-variables.md" >}}).