Docs: fix link reference to "Step vs Interval" section. (#5495)

pull/5498/head
Dylan Guedes 3 years ago committed by GitHub
parent 15dde37518
commit c3edeac990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/sources/api/_index.md

@ -29,7 +29,7 @@ These endpoints are exposed by the querier and the frontend:
- [`GET /loki/api/v1/query`](#get-lokiapiv1query) - [`GET /loki/api/v1/query`](#get-lokiapiv1query)
- [Examples](#examples) - [Examples](#examples)
- [`GET /loki/api/v1/query_range`](#get-lokiapiv1query_range) - [`GET /loki/api/v1/query_range`](#get-lokiapiv1query_range)
- [Step vs Interval](#step-vs-interval) - [Step vs Interval](#step-versus-interval)
- [Examples](#examples-1) - [Examples](#examples-1)
- [`GET /loki/api/v1/labels`](#get-lokiapiv1labels) - [`GET /loki/api/v1/labels`](#get-lokiapiv1labels)
- [Examples](#examples-2) - [Examples](#examples-2)
@ -258,7 +258,7 @@ accepts the following query parameters in the URL:
In microservices mode, `/loki/api/v1/query_range` is exposed by the querier and the frontend. In microservices mode, `/loki/api/v1/query_range` is exposed by the querier and the frontend.
##### Step versus Interval ### Step versus Interval
Use the `step` parameter when making metric queries to Loki, or queries which return a matrix response. It is evaluated in exactly the same way Prometheus evaluates `step`. First the query will be evaluated at `start` and then evaluated again at `start + step` and again at `start + step + step` until `end` is reached. The result will be a matrix of the query result evaluated at each step. Use the `step` parameter when making metric queries to Loki, or queries which return a matrix response. It is evaluated in exactly the same way Prometheus evaluates `step`. First the query will be evaluated at `start` and then evaluated again at `start + step` and again at `start + step + step` until `end` is reached. The result will be a matrix of the query result evaluated at each step.

Loading…
Cancel
Save