dbff31dbf1
This adds a new command, update (and also its alias, extend), to update existing silence in Alertmanager. User can use this command to update the expiration or comment on existing silences. The API already support this so I only expose the same functionality to amtool. Don't allow update CreatedBy field as it is "Created" not "Updated", so we should keep the original author. |
||
---|---|---|
.. | ||
format | ||
testdata | ||
alert.go | ||
check_config.go | ||
check_config_test.go | ||
config.go | ||
root.go | ||
silence.go | ||
silence_add.go | ||
silence_expire.go | ||
silence_import.go | ||
silence_query.go | ||
silence_update.go | ||
utils.go |