Skip to content

Commit

Permalink
removes duplicate min-time flag
Browse files Browse the repository at this point in the history
Signed-off-by: someshkoli <kolisomesh27@gmail.com>
  • Loading branch information
someshkoli committed Apr 21, 2021
1 parent 616b55a commit 0ba294c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/thanos/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@ func registerStore(app *extkingpin.App) {
cmd.Flag("block-meta-fetch-concurrency", "Number of goroutines to use when fetching block metadata from object storage.").
Default("32").IntVar(&conf.blockMetaFetchConcurrency)

model.TimeOrDuration(cmd.Flag("min-time", "Start of time range limit to serve. Thanos Store will serve only metrics, which happened later than this value. Option can be a constant time in RFC3339 format or time duration relative to current time, such as -1d or 2h45m. Valid duration units are ms, s, m, h, d, w, y.").
Default("0000-01-01T00:00:00Z"))

conf.filterConf = store.FilterConfig{
MinTime: *model.TimeOrDuration(cmd.Flag("min-time", "Start of time range limit to serve. Thanos Store will serve only metrics, which happened later than this value. Option can be a constant time in RFC3339 format or time duration relative to current time, such as -1d or 2h45m. Valid duration units are ms, s, m, h, d, w, y.").
Default("0000-01-01T00:00:00Z")),
Expand Down

0 comments on commit 0ba294c

Please sign in to comment.