Skip to content

Commit

Permalink
Update mimirtool.md (#7918)
Browse files Browse the repository at this point in the history
There are two flags for the mimirtool command `rules prepare` missing in the docs
  • Loading branch information
the-it authored Apr 23, 2024
1 parent be486e1 commit 51498b2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/sources/mimir/manage/tools/mimirtool.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,12 @@ mimirtool rules prepare <file_path>...

##### Configuration

| Flag | Description |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `-i`, `--in-place` | Edits the file in place. If not set, the system generates a new file with the extension `.result` that contains the results. |
| `-l`, `--label="cluster"` | Specifies the label for aggregations. By default, the label is set to `cluster`. |
| Flag | Description |
| ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `-i`, `--in-place` | Edits the file in place. If not set, the system generates a new file with the extension `.result` that contains the results. |
| `-l`, `--label="cluster"` | Specifies the label for aggregations. By default, the label is set to `cluster`. |
| `--label-excluded-rule-groups` | Comma separated list of rule group names to exclude when including the configured label to aggregations. |
| `--rule-dirs` | Comma separated list of paths to directories containing rules yaml files. Each file in a directory with a .yml or .yaml suffix will be parsed. |

##### Example

Expand Down

0 comments on commit 51498b2

Please sign in to comment.