prometheus/docs
Ł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
..
command-line Add feature flag for PromQL experimental functions. 2023-11-14 17:48:58 +01:00
configuration Add enable_compression scrape config option 2023-11-20 12:02:55 +00:00
images Add 2.0 storage docs (#3423) 2017-11-07 22:00:38 +01:00
querying Exclude alerts: improve documentation (#13046) 2023-10-30 15:08:11 +00:00
feature_flags.md Add feature flag for PromQL experimental functions. 2023-11-14 17:48:58 +01:00
federation.md docs: Update federation docs for native histograms 2023-01-12 20:43:02 +05:30
getting_started.md Update getting_started.md 2023-05-15 13:18:30 +05:30
http_sd.md Added a failure counter to the HTTP service discovery (#10372) 2022-03-08 14:10:45 +01:00
index.md Update prometheus.io's URL to the latest version (#5270) 2019-02-27 10:39:50 +00:00
installation.md Merge pull request #8747 from shoce/patch-1 2023-07-26 09:02:48 +02:00
management_api.md /-/{healthy,ready}/ respond to HEAD (#11160) 2022-08-16 21:06:26 +02:00
migration.md Document command line tools 2023-03-13 14:20:55 +01:00
stability.md docs: state that remote write is stable 2023-05-09 10:29:52 +00:00
storage.md Allow overlapping blocks by default (#11331) 2022-09-28 19:17:54 +05:30