mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-14 01:52:26 +00:00
a66692fa56
In the Web UI, we have a UI to get information on a given silence through its ID. This functionality is missing from amtool however, leading to the necessity to pull _all_ the silenced, and filter with `grep` or similar. This commit adds in a `--id` flag to the `silence query` command, which allows specifying an ID to match on, matching the functionality of the Web UI. Signed-off-by: sinkingpoint <colin@quirl.co.nz> |
||
---|---|---|
.. | ||
config | ||
format | ||
testdata | ||
alert_add.go | ||
alert_query.go | ||
alert.go | ||
check_config_test.go | ||
check_config.go | ||
cluster.go | ||
config.go | ||
root.go | ||
routing.go | ||
silence_add.go | ||
silence_expire.go | ||
silence_import.go | ||
silence_query.go | ||
silence_update.go | ||
silence.go | ||
template_render.go | ||
template.go | ||
test_routing_test.go | ||
test_routing.go | ||
utils.go |