Skip to content

Commit

Permalink
docs: add links to validation types in readme
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Chodur <m.chodur@seznam.cz>
  • Loading branch information
FUSAKLA committed Mar 8, 2024
1 parent ce7546a commit 09ec132
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@ Also consider running it rather periodically (for example once per day) instead

### Disabling validations
There are three ways you can disable certain validation:
- Using cmd line flag `--disable-rule`
- Using YAML comments
- Using comments in the PromQL expression
- Using alert annotation
- [Using cmd line flag](#using-cmd-line-flag)
- [Using YAML comments](#using-yaml-comments)
- [Using PromQL expression comments](#using-promql-expression-comments)
- [Using alert annotation](#using-alert-annotation)

> The later two are useful if you yse for example jsonnet to generate the rules.
> Then you can't use the YAML comments, but you can set the comments in the expression or alert annotations.
Expand Down

0 comments on commit 09ec132

Please sign in to comment.