Sample payload from Azure
Snapshot of the entity when an event occurs in Azure.
Sample payload sent from Azure
{
"schemaId" : "azureMonitorCommonAlertSchema",
"data" : {
"essentials" : {
"alertId" : "/subscriptions/39fa8f87-83f2-4d92-a424-408ebdfbeb19/providers/Microsoft.AlertsManagement/alerts/f7068659-5c39-4c06-95b8-b3c80213b0d5",
"alertRule" : "CastorAL1",
"severity" : "Sev0",
"signalType" : "Metric",
"monitorCondition" : "Fired",
"monitoringService" : "Platform",
"alertTargetIDs" : [ "/subscriptions/39fa8f87-83f2-4d92-a424-408ebdfbeb19/resourcegroups/castor-rg/providers/microsoft.web/sites/stage-castor-app" ],
"originAlertId" : "39fa8f87-83f2-4d92-a424-408ebdfbeb19_castor-rg_Microsoft.Insights_metricalerts_CastorAL1_-278978067",
"firedDateTime" : "2020-06-29T21:52:19.5607503Z",
"description" : "CastorAL1",
"essentialsVersion" : "1.0",
"alertContextVersion" : "1.0"
},
"alertContext" : {
"properties" : null,
"conditionType" : "SingleResourceMultipleMetricCriteria",
"condition" : {
"windowSize" : "PT1M",
"allOf" : [ {
"metricName" : "HttpResponseTime",
"metricNamespace" : "Microsoft.Web/sites",
"operator" : "GreaterThan",
"threshold" : "0.01",
"timeAggregation" : "Maximum",
"dimensions" : [ {
"name" : "ResourceId",
"value" : "stage-castor-app.azurewebsites.net"
} ],
"metricValue" : 0.143,
"webTestName" : null
} ],
"windowStartTime" : "2020-06-29T21:48:05.715Z",
"windowEndTime" : "2020-06-29T21:49:05.715Z"
}
}
}
}