Skip to content

Commit f4e9d45

Browse files
committed
fix docs: update check cmd flags docs
1 parent a4ee7f3 commit f4e9d45

File tree

2 files changed

+13
-17
lines changed

2 files changed

+13
-17
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ We use *breaking* word for marking changes that are not backward compatible (rel
1212
## Unreleased.
1313

1414
### Added
15-
15+
1616
- [#1097](https://github.com/improbable-eng/thanos/pull/1097) Added `thanos check rules` linter for Thanos rule rules files.
1717

1818
## [v0.5.0](https://github.com/improbable-eng/thanos/releases/tag/v0.5.0) - 2019.06.05

docs/components/check.md

+12-16
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,12 @@ Flags:
2323
--version Show application version.
2424
--log.level=info Log filtering level.
2525
--log.format=logfmt Log format to use.
26-
--gcloudtrace.project=GCLOUDTRACE.PROJECT
27-
GCP project to send Google Cloud Trace tracings to.
28-
If empty, tracing will be disabled.
29-
--gcloudtrace.sample-factor=1
30-
How often we send traces (1/<sample-factor>). If 0 no
31-
trace will be sent periodically, unless forced by
32-
baggage item. See `pkg/tracing/tracing.go` for
33-
details.
26+
--tracing.config-file=<tracing.config-yaml-path>
27+
Path to YAML file that contains tracing
28+
configuration.
29+
--tracing.config=<tracing.config-yaml>
30+
Alternative to 'tracing.config-file' flag. Tracing
31+
configuration in YAML.
3432
3533
Subcommands:
3634
check rules <rule-files>...
@@ -67,14 +65,12 @@ Flags:
6765
--version Show application version.
6866
--log.level=info Log filtering level.
6967
--log.format=logfmt Log format to use.
70-
--gcloudtrace.project=GCLOUDTRACE.PROJECT
71-
GCP project to send Google Cloud Trace tracings to.
72-
If empty, tracing will be disabled.
73-
--gcloudtrace.sample-factor=1
74-
How often we send traces (1/<sample-factor>). If 0 no
75-
trace will be sent periodically, unless forced by
76-
baggage item. See `pkg/tracing/tracing.go` for
77-
details.
68+
--tracing.config-file=<tracing.config-yaml-path>
69+
Path to YAML file that contains tracing
70+
configuration.
71+
--tracing.config=<tracing.config-yaml>
72+
Alternative to 'tracing.config-file' flag. Tracing
73+
configuration in YAML.
7874
7975
Args:
8076
<rule-files> The rule files to check.

0 commit comments

Comments
 (0)