alertmanager icon indicating copy to clipboard operation
alertmanager copied to clipboard

Allow for annotations on silences

Open prymitive opened this issue 3 years ago • 3 comments

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.

prymitive avatar Mar 01 '21 12:03 prymitive

Screenshot 2023-06-08 at 15 36 41

I think the function adding extra fields is already there? see the + button @prymitive

gameloser avatar Jun 08 '23 07:06 gameloser

If you’re talking about the plus button for adding more marchers then no. That’s completely different.

prymitive avatar Jun 08 '23 07:06 prymitive

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?

shiv-tyagi avatar Apr 16 '24 10:04 shiv-tyagi