Skip to content

Enable query stats on frontend by default #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## master / unreleased
* [CHANGE] Use cortex v1.16.0
* [ENHANCEMENT] Enable frontend query stats by default

## 1.15.3 / 2023-11-24
* [CHANGE] Add default instance max series for ingesters
Expand Down
5 changes: 4 additions & 1 deletion cortex/query-frontend.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@
{
target: 'query-frontend',

// Need log.level=debug so all queries are logged, needed for analyse.py.
// Need log.level=debug to see trace id for queries
'log.level': 'debug',

// a message with some statistics is logged for every query.
'frontend.query-stats-enabled': true,

// Increase HTTP server response write timeout, as we were seeing some
// queries that return a lot of data timeing out.
'server.http-write-timeout': '1m',
Expand Down