Skip to content

Commit

Permalink
Remove file format
Browse files Browse the repository at this point in the history
Signed-off-by: Kemal Akkoyun <[email protected]>
  • Loading branch information
kakkoyun committed Sep 3, 2020
1 parent f4b7c33 commit a2222ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/thanos/receive.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down
6 changes: 3 additions & 3 deletions docs/components/receive.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,12 @@ Flags:
--tsdb.retention=15d How long to retain raw samples on local
storage. 0d - disables this retention.
--receive.hashrings-file=<file-path>
Path to JSON file that contains the hashring
Path to File that contains the hashring
configuration.
--receive.hashrings=<content>
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)
Expand Down

0 comments on commit a2222ce

Please sign in to comment.