prometheus/docs/configuration
Łukasz Mierzwa 870627fbed Add enable_compression scrape config option
Currently Prometheus will always request gzip compression from the target when sending scrape requests.
HTTP compression does reduce the amount of bytes sent over the wire and so is often desirable.
The downside of compression is that it requires extra resources - cpu & memory.

This also affects the resource usage on the target since it has to compress the response
before sending it to Prometheus.

This change adds a new option to the scrape job configuration block: enable_compression.
The default is true so it remains the same as current Prometheus behaviour.

Setting this option to false allows users to disable compression between Prometheus
and the scraped target, which will require more bandwidth but it lowers the resource
usage of both Prometheus and the target.

Fixes #12319.

Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
2023-11-20 12:02:55 +00:00
..
alerting_rules.md Add sentence explaining what happens when the `for` clause is omitted (#12457) 2023-06-16 11:55:41 +01:00
configuration.md Add enable_compression scrape config option 2023-11-20 12:02:55 +00:00
https.md Update exporter-toolkit 2023-05-30 09:08:00 +02:00
index.md Consolidate configuration and rules docs in docs/configuration/ 2017-10-27 09:54:02 +02:00
recording_rules.md Update recording_rules.md 2023-10-02 21:44:54 -04:00
template_examples.md format markdown code block (#5594) 2019-05-25 11:28:50 +01:00
template_reference.md Merge branch 'main' into template_reference 2023-09-26 13:49:58 +02:00
unit_testing_rules.md Set test group interval default to evaluation interval (#13011) 2023-10-20 21:32:46 +11:00