Skip to content
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

QFE: disable double compression middleware #7511

Conversation

pedro-stanaka
Copy link
Contributor

@pedro-stanaka pedro-stanaka commented Jul 3, 2024

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Remove the Zip middleware from the main setup of the QFE, since we already have a compression middleware controlled by the flag query-frontend.compress-responses.

The other gzip middleware is added here: https://github.com/pedro-stanaka/thanos/blob/21dbac558b3f011f530e31fca2dc0607af8ab122/cmd/thanos/query_frontend.go#L324-L328

Verification

Ran the QFE locally, but we are running this on our staging environment and it still returns gzipped responses.

@pedro-stanaka pedro-stanaka force-pushed the feat/qfe-disable-double-zip-middleware branch 3 times, most recently from 7b0ac9a to e293ae8 Compare July 3, 2024 15:22
Signed-off-by: Pedro Tanaka <pedro.tanaka@shopify.com>
@pedro-stanaka pedro-stanaka force-pushed the feat/qfe-disable-double-zip-middleware branch from e293ae8 to 21dbac5 Compare July 3, 2024 15:22
Copy link
Member

@saswatamcode saswatamcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@saswatamcode saswatamcode merged commit 6f12454 into thanos-io:main Jul 8, 2024
20 checks passed
jnyi pushed a commit to jnyi/thanos that referenced this pull request Oct 17, 2024
Signed-off-by: Pedro Tanaka <pedro.tanaka@shopify.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants