From 20327509d198b8a71ad8906f0617702cc9aa3f2c Mon Sep 17 00:00:00 2001 From: Marco Pracucci Date: Tue, 25 Jul 2023 17:46:11 +0200 Subject: [PATCH] Docs: mention query results cache for label names and values API (#5580) Signed-off-by: Marco Pracucci --- docs/sources/mimir/references/http-api/index.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/sources/mimir/references/http-api/index.md b/docs/sources/mimir/references/http-api/index.md index c5751ffc576..7faccf4eaa2 100644 --- a/docs/sources/mimir/references/http-api/index.md +++ b/docs/sources/mimir/references/http-api/index.md @@ -485,6 +485,10 @@ For more information, refer to Prometheus [get label names](https://prometheus.i Requires [authentication](#authentication). +#### Caching + +The query-frontend can return a stale response fetched from the query results cache if `-query-frontend.cache-results` is enabled and `-query-frontend.results-cache-ttl-for-labels-query` set to a value greater than `0`. + ### Get label values ``` @@ -495,6 +499,10 @@ For more information, refer to Prometheus [get label values](https://prometheus. Requires [authentication](#authentication). +#### Caching + +The query-frontend can return a stale response fetched from the query results cache if `-query-frontend.cache-results` is enabled and `-query-frontend.results-cache-ttl-for-labels-query` set to a value greater than `0`. + ### Get metric metadata ```