21 lines
1.2 KiB
JSON
21 lines
1.2 KiB
JSON
{
|
|
"acceptAnyCertificate": false,
|
|
"active": true,
|
|
"alertingProfile": "{{.alertingProfile}}",
|
|
"headers": [
|
|
{
|
|
"name": "Authorization",
|
|
"value": "{{.Env.SecretAuthHeader}}"
|
|
},
|
|
{
|
|
"name": "x-apikey",
|
|
"value": "{{.Env.SecretXAPIKey}}"
|
|
}
|
|
],
|
|
"name": "{{.name}}",
|
|
"notifyEventMergesEnabled": false,
|
|
"payload": "[\n{\n \"attributes\": {\n \"CLASS\": \"BusinessTransaction\",\n \"source\": \"MgmtZone: {{.mzName}}\",\n \"severity\": \"MINOR\",\n \"origin\": \"{{.appdid}}\",\n \"sub_origin\": \"Dynatrace SaaS - {ImpactedEntity}\",\n \"adapter_host\": \"{{ .DTEnvironment }}\",\n \"msg\": \"{ProblemDetailsText}\",\n \"contract_id\": \"{{.contractid}}\",\n \"ars_esc\": \"Yes\",\n \"ars_delay_time\": \"0\",\n \"hostname\": \"test\",\n \"sub_source\": \"Environment: CoCo_EMEA_Prod\",\n \"server_loc\": \"\",\n \"event_id\": \"AI001\",\n \"dd_plus\": \"{ProblemSeverity}\",\n \"dd1\": \"{ProblemURL}\",\n \"dd2\": \"{PID}\"\n }\n}\n]",
|
|
"type": "WEBHOOK",
|
|
"url": "{{.webhook}}"
|
|
}
|