chore: remove repetitive words (#3804)
Signed-off-by: youngwendy <clonefetch@outlook.com>
This commit is contained in:
parent
530bb3f6b3
commit
72b62dbfea
|
@ -68,7 +68,7 @@ func configureAddAlertCmd(cc *kingpin.CmdClause) {
|
||||||
addCmd.Arg("labels", "List of labels to be included with the alert").StringsVar(&a.labels)
|
addCmd.Arg("labels", "List of labels to be included with the alert").StringsVar(&a.labels)
|
||||||
addCmd.Flag("generator-url", "Set the URL of the source that generated the alert").StringVar(&a.generatorURL)
|
addCmd.Flag("generator-url", "Set the URL of the source that generated the alert").StringVar(&a.generatorURL)
|
||||||
addCmd.Flag("start", "Set when the alert should start. RFC3339 format 2006-01-02T15:04:05-07:00").StringVar(&a.start)
|
addCmd.Flag("start", "Set when the alert should start. RFC3339 format 2006-01-02T15:04:05-07:00").StringVar(&a.start)
|
||||||
addCmd.Flag("end", "Set when the alert should should end. RFC3339 format 2006-01-02T15:04:05-07:00").StringVar(&a.end)
|
addCmd.Flag("end", "Set when the alert should end. RFC3339 format 2006-01-02T15:04:05-07:00").StringVar(&a.end)
|
||||||
addCmd.Flag("annotation", "Set an annotation to be included with the alert").StringsVar(&a.annotations)
|
addCmd.Flag("annotation", "Set an annotation to be included with the alert").StringsVar(&a.annotations)
|
||||||
addCmd.Action(execWithTimeout(a.addAlert))
|
addCmd.Action(execWithTimeout(a.addAlert))
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@ query string containing the following will additionally show silenced alerts.
|
||||||
http://alertmanager/#/alerts?silenced=true
|
http://alertmanager/#/alerts?silenced=true
|
||||||
```
|
```
|
||||||
|
|
||||||
In order to to show _only_ silenced alerts, update the query string to hide active alerts.
|
In order to show _only_ silenced alerts, update the query string to hide active alerts.
|
||||||
```
|
```
|
||||||
http://alertmanager/#/alerts?silenced=true&active=false
|
http://alertmanager/#/alerts?silenced=true&active=false
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue