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.
pull/3618/head
Brian Brazil 7 years ago committed by GitHub
parent b418063d1a
commit fba80da635
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -197,7 +197,6 @@ var (
// DefaultRemoteReadConfig is the default remote read configuration. // DefaultRemoteReadConfig is the default remote read configuration.
DefaultRemoteReadConfig = RemoteReadConfig{ DefaultRemoteReadConfig = RemoteReadConfig{
RemoteTimeout: model.Duration(1 * time.Minute), RemoteTimeout: model.Duration(1 * time.Minute),
ReadRecent: true,
} }
) )

@ -1136,6 +1136,10 @@ required_matchers:
# Timeout for requests to the remote read endpoint. # Timeout for requests to the remote read endpoint.
[ remote_timeout: <duration> | default = 30s ] [ 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 # Sets the `Authorization` header on every remote read request with the
# configured username and password. # configured username and password.
basic_auth: basic_auth:

Loading…
Cancel
Save