I have set up an integration with Azure and Opsgenie. My alerts contain a custom property "responderId" that I'd like to use to populate the responder field of the generated alerts. However, this does not seem possible because the "Responders" field doesn't take free text (eg "{{_payload.data.alertContext.properties.responderId}}"). tl;dr we have many different microservices, each with a different team configured in Opsgenie. When engineers configure the alerts in Azure, I'd like them to be able to automatically assign the responding team for all alerts generated by Azure. Is there another way of automatically assigning the responder?
Attached is a screenshot of the custom properties I have on an alert, but there doesn't seem to be a way to assign the responder automatically to the "responderId" property.
Hi @David Young ,
Happy to help!
I would recommend submitting a Support Ticket so that we can look at this closer in relation to your current set up. But if there is a specific Alert type or payload that you'd like assigned automatically to a team, it may be better to configure those Create Action filters with OR statements for each team. That will ensure when Engineers configure specific alerts to populate in Opsgenie, the appropriate team will be assigned automatically as a result of the Create Action filter.
Please let us know if you have any follow up questions, but I do think this would benefit from a look in a ticket!
@David Young hey, hey!
I found out, how to pass custom properties from App Insights to OpsGenie.
1. Add a custom property to your alert rule in App Insights (as on your screen above).
2. Use the full path to the payload in OpsGenie, when configuring alert processing rules, like `{{_payload.data.customProperties.responderId}}`
Done!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.