alertmanager
alertmanager copied to clipboard
Allow for annotations on silences
It would be great if silences could have annotations rather than only author and comment fields (both could become standard annotations, like alertname is a standard label). Having the ability to easily add extra fields would help when managing silences via helper tools, for example link silence with maintenance task or a ticket. At the moment all extra information goes into comment which requires to write code that parses it, a simple key/value mapping would make it easier to use alertmanager programatically.
I think the function adding extra fields is already there? see the +
button @prymitive
If you’re talking about the plus button for adding more marchers then no. That’s completely different.
Hey @gotjosh! I would like to work on this one. Just to confirm, we need to have functionality to add annotations to silences and have provision to edit them through the ui (like we do for matchers, similar ui components but separately placed under annotations heading). The creator and comments field would stay as they are and their values would stay as annotations under the hood. Right?