Step 1: create the alert source
- Go to Alerts in your incident.io dashboard and select the Sources tab.
- Press Create source, search for Azure Monitor, and continue.
- Give it a name.
Step 2: connect Azure Monitor
In the Azure portal:- Go to Azure Monitor → Alerts → Action Groups, press Create, and paste the Action Group Name and Display Name from incident.io.
- Under Actions, add a Webhook action. Paste the URI from incident.io and set Enable common alert schema to Yes.
- Create the action group and assign it to each alert rule you want to page on.
?team=engineering&service=api.
How alerts behave
- Title and description. The alert title is the alert rule’s name, the description is the rule’s description, and the alert links to the alert in the Azure portal.
- Deduplication. Webhooks for the same Azure alert, firing or resolving, update one alert.
- Resolution. The alert resolves when Azure sends a monitor condition of
Resolved. - Attributes. Custom properties on the alert rule and query parameters on the URI are the
most reliable way to set alert attributes, for example to
map a
teamquery parameter to a team.
Step 3: check it works
Open the action group in the Azure portal and press Test, or wait for an alert rule to fire. The alert should appear on the alert source page in incident.io within a few seconds. If nothing arrives, check Recent requests on that page. Every request Azure sent is listed there, including any that were rejected, with the reason.Can’t find the alert source you are looking for? Head to our integrations page or message us at support@incident.io.