Skip to content

Commit

Permalink
Add CHANGELOG entry and fix docs
Browse files Browse the repository at this point in the history
Signed-off-by: Filip Petkovski <[email protected]>
  • Loading branch information
fpetkovski committed Mar 9, 2024
1 parent 78e9c86 commit 07492c7
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re
- [#7105](https://github.com/thanos-io/thanos/pull/7105) Rule: add flag `--query.enable-x-functions` to allow usage of extended promql functions (xrate, xincrease, xdelta) in loaded rules
- [#6867](https://github.com/thanos-io/thanos/pull/6867) Query UI: Tenant input box added to the Query UI, in order to be able to specify which tenant the query should use.
- [#7175](https://github.com/thanos-io/thanos/pull/7175): Query: Add `--query.mode=distributed` which enables the new distributed mode of the Thanos query engine.
- [#7200](https://github.com/thanos-io/thanos/pull/7175): Query: Add `--selector.relabel-config` and `--selector.relabel-config-file` flags which allows scoping the Querier to a subset of matched TSDBs.

### Changed

Expand Down
2 changes: 0 additions & 2 deletions cmd/thanos/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,6 @@ func runQuery(
strictEndpoints,
endpointGroupAddrs,
strictEndpointGroups,
tsdbSelector,
dialOpts,
unhealthyStoreTimeout,
endpointInfoTimeout,
Expand Down Expand Up @@ -854,7 +853,6 @@ func prepareEndpointSet(
strictEndpoints []string,
endpointGroupAddrs []string,
strictEndpointGroups []string,
tsdbSelector *store.TSDBSelector,
dialOpts []grpc.DialOption,
unhealthyStoreTimeout time.Duration,
endpointInfoTimeout time.Duration,
Expand Down
1 change: 0 additions & 1 deletion cmd/thanos/rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,6 @@ func runRule(
nil,
nil,
nil,
store.DefaultSelector,
dialOpts,
5*time.Minute,
5*time.Second,
Expand Down
14 changes: 14 additions & 0 deletions docs/components/query.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,20 @@ Flags:
--selector-label=<name>="<value>" ...
Query selector labels that will be exposed in
info endpoint (repeated).
--selector.relabel-config=<content>
Alternative to 'selector.relabel-config-file'
flag (mutually exclusive). Content of
YAML file that contains relabeling
configuration that allows selecting
blocks. It follows native Prometheus
relabel-config syntax. See format details:
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
--selector.relabel-config-file=<file-path>
Path to YAML file that contains relabeling
configuration that allows selecting
blocks. It follows native Prometheus
relabel-config syntax. See format details:
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
--store=<store> ... Deprecation Warning - This flag is deprecated
and replaced with `endpoint`. Addresses of
statically configured store API servers
Expand Down

0 comments on commit 07492c7

Please sign in to comment.