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

Add timeout option to config file #524

Merged
merged 1 commit into from
Nov 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cmd/promxy/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ promxy:
sg: localhost_9090
# anti-affinity for merging values in timeseries between hosts in the server_group
anti_affinity: 10s
# time to wait for a server's response headers after fully writing the request (including its body, if any).
# This time does not include the time to read the response body.
timeout: 5s
# Controls whether to use remote_read or the prom API for fetching remote RAW data (e.g. matrix selectors)
# Note, some prometheus implementations (e.g. [VictoriaMetrics](https://github.com/prometheus/prometheus/issues/4456) don't support remote_read.
remote_read: true
Expand Down