From f2062ae1d7f84b1c30484afc87a96af4803f9b25 Mon Sep 17 00:00:00 2001 From: Aleksey Sin Date: Fri, 17 Jan 2020 11:50:14 +0300 Subject: [PATCH] Help and changelog update. Signed-off-by: Aleksey Sin --- CHANGELOG.md | 1 + cmd/thanos/query.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8feac8514..7b16d1d148 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ We use *breaking* word for marking changes that are not backward compatible (rel ### Changed - [#1933](https://github.com/thanos-io/thanos/pull/1933) Add a flag `--tsdb.wal-compression` to configure whether to enable tsdb wal compression in ruler and receiver. +- [#2003](https://github.com/thanos-io/thanos/pull/2003) A flag `--instantDefaultMaxSourceResolution` also used for /series APi method. ## [v0.10.0](https://github.com/thanos-io/thanos/releases/tag/v0.10.0) - 2020.01.13 diff --git a/cmd/thanos/query.go b/cmd/thanos/query.go index 349e9bf2ea..90b23fc5f0 100644 --- a/cmd/thanos/query.go +++ b/cmd/thanos/query.go @@ -65,7 +65,7 @@ func registerQuery(m map[string]setupFunc, app *kingpin.Application) { replicaLabels := cmd.Flag("query.replica-label", "Labels to treat as a replica indicator along which data is deduplicated. Still you will be able to query without deduplication using 'dedup=false' parameter."). Strings() - instantDefaultMaxSourceResolution := modelDuration(cmd.Flag("query.instant.default.max_source_resolution", "default value for max_source_resolution for instant queries. If not set, defaults to 0s only taking raw resolution into account. 1h can be a good value if you use instant queries over time ranges that incorporate times outside of your raw-retention.").Default("0s").Hidden()) + instantDefaultMaxSourceResolution := modelDuration(cmd.Flag("query.instant.default.max_source_resolution", "default value for max_source_resolution for instant and series queries. If not set, defaults to 0s only taking raw resolution into account. 1h can be a good value if you use instant or series queries over time ranges that incorporate times outside of your raw-retention.").Default("0s").Hidden()) selectorLabels := cmd.Flag("selector-label", "Query selector labels that will be exposed in info endpoint (repeated)."). PlaceHolder("=\"\"").Strings()