mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-04 12:42:16 +00:00
README.md: Add consistency for amtool examples (#2099)
All the examples are written with `$ amtool` except for two of them. This change will add `$ amtool` for all of them. Signed-off-by: Charles JUDITH <c.judith@criteo.com>
This commit is contained in:
parent
196c62f488
commit
64acc9bdf9
@ -316,10 +316,10 @@ and it prints out all receivers the alert would match ordered and separated by `
|
||||
Example of usage:
|
||||
```
|
||||
# View routing tree of remote Alertmanager
|
||||
amtool config routes --alertmanager.url=http://localhost:9090
|
||||
$ amtool config routes --alertmanager.url=http://localhost:9090
|
||||
|
||||
# Test if alert matches expected receiver
|
||||
./amtool config routes test --config.file=doc/examples/simple.yml --tree --verify.receivers=team-X-pager service=database owner=team-X
|
||||
$ amtool config routes test --config.file=doc/examples/simple.yml --tree --verify.receivers=team-X-pager service=database owner=team-X
|
||||
```
|
||||
|
||||
## High Availability
|
||||
|
Loading…
Reference in New Issue
Block a user