From a2222ce1040b9fa28e0a704aa12fea2499816538 Mon Sep 17 00:00:00 2001 From: Kemal Akkoyun Date: Thu, 3 Sep 2020 18:56:03 +0300 Subject: [PATCH] Remove file format Signed-off-by: Kemal Akkoyun --- cmd/thanos/receive.go | 2 +- docs/components/receive.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/thanos/receive.go b/cmd/thanos/receive.go index aeadae50feb..b31ad233bb9 100644 --- a/cmd/thanos/receive.go +++ b/cmd/thanos/receive.go @@ -65,7 +65,7 @@ func registerReceive(app *extkingpin.App) { retention := modelDuration(cmd.Flag("tsdb.retention", "How long to retain raw samples on local storage. 0d - disables this retention.").Default("15d")) - hashringsFile := extflag.RegisterPathOrContent(cmd, "receive.hashrings", "JSON file that contains the hashring configuration.", false) + hashringsFile := extflag.RegisterPathOrContent(cmd, "receive.hashrings", "File that contains the hashring configuration.", false) refreshInterval := modelDuration(cmd.Flag("receive.hashrings-file-refresh-interval", "Refresh interval to re-read the hashring configuration file. (used as a fallback)"). Default("5m")) diff --git a/docs/components/receive.md b/docs/components/receive.md index d3d887343af..c65736682b4 100644 --- a/docs/components/receive.md +++ b/docs/components/receive.md @@ -134,12 +134,12 @@ Flags: --tsdb.retention=15d How long to retain raw samples on local storage. 0d - disables this retention. --receive.hashrings-file= - Path to JSON file that contains the hashring + Path to File that contains the hashring configuration. --receive.hashrings= Alternative to 'receive.hashrings-file' flag - (lower priority). Content of JSON file that - contains the hashring configuration. + (lower priority). Content of File that contains + the hashring configuration. --receive.hashrings-file-refresh-interval=5m Refresh interval to re-read the hashring configuration file. (used as a fallback)