Skip to content

queryFrontend

The configuration for the queryFrontend service
As this is a single binary deployment this only holds the deep config, there is no kubernetes service

Type: object

Path: queryFrontend


config

Type: object

Path: queryFrontend.config


max_retries

Number of times to retry a request sent to a querier

Default: 2

Type: number

Path: queryFrontend.config.max_retries


Type: object

Path: queryFrontend.config.search


concurrent_jobs

The number of concurrent jobs to execute when searching the backend

Default: 1000

Type: number

Path: queryFrontend.config.search.concurrent_jobs


target_bytes_per_job

The target number of bytes for each job to handle when performing a backend search

Default: 104857600

Type: number

Path: queryFrontend.config.search.target_bytes_per_job


snapshot_by_id

Snapshot by ID lookup configuration

Type: object

Path: queryFrontend.config.snapshot_by_id


query_shards

The number of shards to split a snapshot by id query into.

Default: 50

Type: number

Path: queryFrontend.config.snapshot_by_id.query_shards


hedge_requests_at

If set to a non-zero value, a second request will be issued at the provided duration. Recommended to be set to p99 of search requests to reduce long-tail latency.

Default: 2s

Type: string

Path: queryFrontend.config.snapshot_by_id.hedge_requests_at


hedge_requests_up_to

The maximum number of requests to execute when hedging. Requires hedge_requests_at to be set. Must be greater than 0.

Default: 2

Type: number

Path: queryFrontend.config.snapshot_by_id.hedge_requests_up_to