Prometheus scrape does not support gzip header in GET requests #21975
Labels
source: prometheus_scrape
Anything `prometheus_scrape` source related
type: feature
A value-adding code addition that introduce new functionality.
Use Cases
The scraper downloads
/metrics
as text. There should be an option of addinggzip
header. In production we're scraping servers which produce high cardinality metrics with/metrics
ranging from 4-13MB across the servers. It would be great to download the metrics as compressed.component_type=prometheus_scrape}:http: vector::internal_events::http_client: Sending HTTP request. uri=http://<ip>:8080/metrics method=GET version=HTTP/1.1 headers={"accept": "text/plain", "user-agent": "Vector/0.35.0 (x86_64-unknown-linux-gnu)", "accept-encoding": "identity"} body=[empty]
Attempted Solutions
No response
Proposal
No response
References
No response
Version
0.35.0
The text was updated successfully, but these errors were encountered: