Sample alert for ThousandEyes
Snapshot of the entity when an event occurs in ThousandEyes.
The sample alert becomes available after you generate the webhook.
{
"eventId": "testEventId",
"alert": {
"severity": "Warning",
"dateStartZoned": "2022-01-19 13:15:00 IST",
"apiLinks": [
{
"rel": "related",
"href": "https://api.thousandeyes.com/v4/tests/*******"
},
{
"rel": "data",
"href": "https://api.thousandeyes.com/v4/web/http-server/*******"
}
],
"testLabels": [],
"active": 1,
"ruleExpression": "Response Time ≥ 199 ms",
"type": "HTTP Server",
"ruleAid": "testRuleAid",
"agents": [
{
"dateStart": "2022-01-19 13:15:00",
"active": 1,
"metricsAtStart": "Response Time: 244 ms",
"metricsAtEnd": "",
"permalink": "https://app.thousandeyes.com/alerts/list/?__a=******&alertId=******&agentId=****",
"agentId": "testAgentId",
"agentName": "Hyderabad, India"
}
],
"testTargetsDescription": [
"https://www.test.com/"
],
"violationCount": 1,
"dateStart": "2022-01-19 13:15:00",
"ruleName": "Test rule",
"testId": "testId",
"alertId": "testAlertId",
"ruleId": "testRuleId",
"permalink": "https://app.thousandeyes.com/alerts/list/?__a=******&alertId=*********",
"testName": "[Alerting]: Sample Alert"
},
"eventType": "ALERT_NOTIFICATION_TRIGGER"
}