Alert policies for different applications

Do we need to create seperate policies for alert conditions of different applications OR Should we keep all the alerts along with their alert ids in Single Policy that is integrated with Alert Manager?

Hi @Srishti.Singla

You can have conditions from different apps under the same policy.

The policy will determine what notification channels and incident preferences will be used by the conditions that it contains so, it would depend on how you want or organize and group your conditions.

Please let me know if you have any doubts.

thanks

Rodrigo

okay, but keeping all alert conditions in single policy will let us know that failure occcured but won’t tell us which monitor triggered the alert i.e. monitor id is not mentioned in alerts.

If you use an NRQL alert condition FACETed on the monitor name or ID, then the ID will be passed in the notification, for example:

SELECT count(*) FROM SyntheticCheck WHERE result = 'FAILED' FACET monitorId
1 Like

Hi @Srishti.Singla

I’m wondering if you have any doubts?

Thanks @philweber for the solution.

thanks

Rodrigo