Anomaly alerts are the primary alert type in Anodot.
Webhook notifications for anomaly alerts are available in two formats: Standard and Extended. The Extended format is available to select customers upon request. To enable it, contact [email protected].
The template and sample response shown on the right demonstrate the Standard anomaly alert webhook format.
Anomaly Alert Template:
{"subject": "{{subject}}",
"severity": "{{severity}}",
"description": "{{description}}",
"investigationUrl": "{{The link to the Anoboard}}",
"startTime": "{{startTime}} (UTC)",
"startTimeEpoch": "{{startTimeEpoch}}",
"anomalyId": "{{anomalyId}}",
"alertGroupId": "{{alertGroupId}}",
"mergedAnomalies":"[{{anomalyId}}]",
"timeScale": "timeScale",
"alerts": [
{
"title": "{{title}}",
"metrics": [
{
"closeReasonPhrase": "{{closeReasonPhrase}}",
"duration": "{{duration}}",
"durationInSeconds": "{{durationInSeconds}}",
"startTime": "{{startTime}} (UTC)",
"startTimeEpoch": "{{startTimeEpoch}}",
"imageUrl": "{{imageUrl}}",
"peak": "{{peak}}",
"direction": "{{direction}}",
"delta": "{{delta}}",
"significance" : "{{score}}",
"name": "{{name}}",
"id":"{{id}}",
"state": "{{state}}",
"season":"{{season}}"
}
],
"events":{
"Total":"{{total Events}}",
"buckets":[
{
"date":"{{date}}",
"Total":"{{total events in aggregation}}",
"topEvents":[
{
"title" :"{{title}}",
"description" :"{{description}}",
"source" :"{{source}}",
"category" : "{{category}}",
"startDate" :"{{startDate}}",
"endDate" : "{{endDate}}"
}
]
}
]
},
"alertId": "{{alertId}}",
"alertSettingsUrl": "{{The link to the alert’s setting}}",
"description": "{{description}}",
"severity": "{{severity}}"
}
]}Anomaly Alert Example (Multiple Metrics):
{"subject": "(2 Alerts) Close: [6-1. Automation DAL1] and [6-2. Automation DAL2] [critical][a42ba]",
"severity": "critical",
"description": "should generate one alert story with DAL1 contains metrics m1(up) and DAL2 contains metrics m4(down)",
"investigationUrl": "https://yourdomain.anodot.com/#!/anomalies?tabs=main;0&activeTab=1&anomalies=;0(a42bab2f70f44ec8a420cc2130cc47bb)&duration=;1(1)&durationScale=;minutes(minutes)&delta=;1(1)&deltaType=;percentage(percentage)&resolution=;short(short)&score=;0(0)&state=;both(both)&direction=;both(both)&bookmark=;()&alertId=;(4fd71678-cd35-4248-ae2b-7578201cde78,33187cca-680c-4a42-a067-1d817ddb28dc)&sort=;significance(significance)&q=;()&constRange=;1h(c)&startDate=;0(0)&endDate=;0(0)",
"triageUrl": "https://yourdomain.anodot.com/#!/r/alerts-console?ref=slack&anomalyIdInv=8dfbdcfc-537f-4e61-9fe5-e04d2a03fc85&constRange=m3&investigationModal=1&sort=updatedTime&triggerIdInv=8dfbdcfc-537f-4e61-9fe5-e04d2a03fc85",
"startTime": "14 Nov, 2018 9:17AM (UTC)",
"startTimeEpoch": "1542187020",
"anomalyId": "2aefdac1-1a07-4b7b-bf84-09bf5b34f917",
"alertGroupId": "2aefdac1-1a07-4b7b-bf84-09bf5b34f917",
"mergedAnomalies": "[a42bab2f70f44ec8a420cc2130cc47bb]",
"timeScale": "1m",
"type": "Anomaly",
"alerts": [
{
"title": "6-2. Automation DAL2 1542267963737",
"metrics": [
{
"duration": "20m",
"durationInSeconds": "1200",
"startTime": "14 Nov, 2018 9:17AM (UTC)",
"startTimeEpoch": "1542187020",
"imageUrl": "https://alert-images-staging.s3.amazonaws.com/i:33187cca-680c
-4a42-a067-1d817ddb28dce:f855728768f0a8d979581e8fb3dd5320s:close.png",
"peak": "-500.0",
"lowerPeak": "-500",
"direction": "DOWN",
"delta": 1000,
"lowerPercentageDelta": 1000,
"significance": 0,
"name": "automation.alert.m4.1542267963737",
"id": "automation.alert.m4.1542267963737",
"state": "CLOSED",
"season": "None"
}
],
"events": {
"total": "0",
"buckets": []
},
"alertId": "dc23e0ad-5561-4742-b123-af7046659d4e",
"alertSettingsUrl": "https://yourdomain.anodot.com/#!/alerts/dc23e0ad-5561-4742-
b123-af7046659d4e",
"description": "should generate one alert story with DAL1 contains metrics m1(up)
and DAL2 contains metrics m4(down)",
"severity": "critical"
},
{
"title": "6-1. Automation DAL1 1542267963737",
"metrics": [
{
"duration": "20m",
"durationInSeconds": "1200",
"startTime": "14 Nov, 2018 9:17AM (UTC)",
"startTimeEpoch": "1542187020",
"imageUrl": "https://alert-images-staging.s3.amazonaws.com/i:4fd71678-cd35-4248-ae2b-7578201cde78e:14e50f7a6cd06fc2efa0b542c73dc3fcs:close.png",
"peak": "500.0",
"upperPeak": "500",
"direction": "UP",
"delta": 1000,
"upperPercentageDelta": 1000,
"significance": 0,
"name": "automation.alert.m1.1542267963737",
"id": "automation.alert.m1.1542267963737",
"state": "CLOSED",
"season": "None"
}
],
"events": {
"total": "0",
"buckets": []
},
"alertId": "04d7af9d-f892-4d50-8a1a-eb5297247f4f",
"alertSettingsUrl": "https://yourdomain.anodot.com/#!/alerts/04d7af9d-f892-4d50-8a1a-eb5297247f4f",
"description": "should generate one alert story with DAL1 contains metrics m1(up)
and DAL2 contains metrics m4(down)",
"severity": "critical"
}
]}