Hi, On 8/26/20 11:00 PM, [email protected] wrote: > I want to send alert by doing some correlation based upon multiple > alerts.For eg: if podA,podB,serviceA are all 100% down in two different > namespaces(namespace1,namespace2),then I want to send alert like > ApplicationA is down. Is this possible? How to do the correlation > between different alerts?
There is a special metric called ALERTS which exists for every active (pending or firing) alert. You could cross-reference this. However, there might be better ways which are more readable. I'm not sure either if it would be a good idea to use ALERTS in other alerts. :) In general this sounds like you could go with a simple up-based alert? If you need to distinguish based on namespace, you might be looking for the count or sum functions along with some by(namespace)? Kind regards, Christian -- You received this message because you are subscribed to the Google Groups "Prometheus Users" 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-users/1d5d9627-8cc1-de20-811b-cf9a855bb804%40hoffmann-christian.info.

