Skip to content

Commit

Permalink
Docs: mention query results cache for label names and values API (#5580)
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Pracucci <[email protected]>
  • Loading branch information
pracucci authored Jul 25, 2023
1 parent 10099e0 commit 2032750
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/sources/mimir/references/http-api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

```
Expand All @@ -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

```
Expand Down

0 comments on commit 2032750

Please sign in to comment.