Prometheus scrape does not support retry or retry-after #21974
Labels
source: prometheus_scrape
Anything `prometheus_scrape` source related
type: feature
A value-adding code addition that introduce new functionality.
Use Cases
We have vector-agent running in our production environment and noticed the logs have timeout errors like below.
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]
vector::internal_events::http_client_source: HTTP request processing error. url=http://<ip>:8080/metrics error="Timeout error: request exceeded 30s" error_type="request_failed" stage="receiving" internal_log_rate_limit=true
It appears the prometheus_scrape does not have a retry option which could be helpful so we don't have to wait for the next scrape run.
Attempted Solutions
No response
Proposal
No response
References
No response
Version
0.35.0
The text was updated successfully, but these errors were encountered: