Thank you Matthias.

Actually our webhook implementation is depending upon status of alert sent i.e. 
firing vs resolved.

If we receive an notification for a given group containing some number of 
alerts, we just assume it to be new alert instances and end up creating new 
alert records in database.

It is quite hard to determine if we are receiving notification with diff labels 
/ content or is just an update of an exiting group alert.

For e.g. if I have a service down alert configured and webhook receives the 
notification for service A first and service B later than they are two 
different alert instances for us.

So basically the main question is every-time our webhook gets the alert 
notifications as group then how to ensure,

We are not repetitively creating alert records and updating them as resolved 
each time the notification is sent with different statuses.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/2cab5e7f-6517-49c2-b17b-1ba09e478db6%40googlegroups.com.

Reply via email to