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

Resource calls not returning compressed results #337

Open
iwysiu opened this issue Feb 3, 2025 · 0 comments
Open

Resource calls not returning compressed results #337

iwysiu opened this issue Feb 3, 2025 · 0 comments
Labels
bug Something isn't working datasource/AmazonPrometheus

Comments

@iwysiu
Copy link
Contributor

iwysiu commented Feb 3, 2025

Core Prometheus returns compressed results for resource calls, while amazon managed prometheus does not. We should compress the responses for amazon managed prometheus as well.

Repro:
Start editing a panel for prometheus/amazon managed prometheus. Click the builder to select the metric, and notice the difference in response size and headers between the values?start=<time>&end=<time> calls. The prometheus call with have content-encoding: gzip in its headers and be smaller for the same resource and time range.

Note: Prometheus compresses the resource call response whether or not enable_gzip is set to true, which may not be correct behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working datasource/AmazonPrometheus
Projects
Status: Backlog
Development

No branches or pull requests

1 participant