mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
Fix default of read_recent to be false. (#3617)
This is what is documented in the migration guide, and the default settings should make sense for a true long term storage. Document the setting.
This commit is contained in:
parent
b418063d1a
commit
fba80da635
|
@ -197,7 +197,6 @@ var (
|
|||
// DefaultRemoteReadConfig is the default remote read configuration.
|
||||
DefaultRemoteReadConfig = RemoteReadConfig{
|
||||
RemoteTimeout: model.Duration(1 * time.Minute),
|
||||
ReadRecent: true,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
@ -1136,6 +1136,10 @@ required_matchers:
|
|||
# Timeout for requests to the remote read endpoint.
|
||||
[ remote_timeout: <duration> | default = 30s ]
|
||||
|
||||
# Whether reads should be made for queries for time ranges that
|
||||
# the local storage should have complete data for.
|
||||
[ read_recent: <boolean> | default = false ]
|
||||
|
||||
# Sets the `Authorization` header on every remote read request with the
|
||||
# configured username and password.
|
||||
basic_auth:
|
||||
|
|
Loading…
Reference in a new issue