From fba80da6356513f8658ef7cc7f8f425060d88438 Mon Sep 17 00:00:00 2001 From: Brian Brazil Date: Sat, 23 Dec 2017 17:21:38 +0000 Subject: [PATCH] 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. --- config/config.go | 1 - docs/configuration/configuration.md | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 73a938bca3..62feb595e4 100644 --- a/config/config.go +++ b/config/config.go @@ -197,7 +197,6 @@ var ( // DefaultRemoteReadConfig is the default remote read configuration. DefaultRemoteReadConfig = RemoteReadConfig{ RemoteTimeout: model.Duration(1 * time.Minute), - ReadRecent: true, } ) diff --git a/docs/configuration/configuration.md b/docs/configuration/configuration.md index cc24b3bb92..424d13a5bb 100644 --- a/docs/configuration/configuration.md +++ b/docs/configuration/configuration.md @@ -1136,6 +1136,10 @@ required_matchers: # Timeout for requests to the remote read endpoint. [ remote_timeout: | default = 30s ] +# Whether reads should be made for queries for time ranges that +# the local storage should have complete data for. +[ read_recent: | default = false ] + # Sets the `Authorization` header on every remote read request with the # configured username and password. basic_auth: