Skip to content

Commit

Permalink
fix lint issues in docs
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Meyer <m.meyer@mytaxi.com>
  • Loading branch information
wndhydrnt committed May 17, 2024
1 parent 0ba4422 commit 25ff6b6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/components/query-frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ Other cache configuration parameters, you can refer to [redis-index-cache](store

Query Frontend supports `--query-frontend.log-queries-longer-than` flag to log queries running longer than some duration.

The field `remote_user` can be read from an HTTP header, like `X-Grafana-User`,
by setting `--query-frontend.slow-query-logs-user-header`.
The field `remote_user` can be read from an HTTP header, like `X-Grafana-User`, by setting `--query-frontend.slow-query-logs-user-header`.

## Naming

Expand Down Expand Up @@ -298,6 +297,11 @@ Flags:
the request, the first matching arg specified
will take precedence. If no headers match
'anonymous' will be used.
--query-frontend.slow-query-logs-user-header=<http-header-name>
Set the value of the field remote_user in the
slow query logs to the value of the given HTTP
header. Falls back to reading the user from the
basic auth header.
--query-frontend.vertical-shards=QUERY-FRONTEND.VERTICAL-SHARDS
Number of shards to use when
distributing shardable PromQL queries.
Expand Down

0 comments on commit 25ff6b6

Please sign in to comment.