alertmanager icon indicating copy to clipboard operation
alertmanager copied to clipboard

Add the receiver name to notification metrics

Open sinkingpoint opened this issue 3 years ago • 0 comments

Solves #3012

This PR adds in a second label to all the Notification metrics, so that we not only have the type of notification, but all the receiver_name that the notification belongs to.

Because of the proliferation of webhook notifiers (as recommended by the docs), this is necessary to be able to properly diagnose failures from metrics - currently we get one metric for all web hooks, regardless of the fact that they might represent completely different notification pathways.

This is technically a breaking change, so this might have to wait for a bigger release, if its even worthwhile at all

sinkingpoint avatar Aug 22 '22 01:08 sinkingpoint