zulip/zerver/webhooks/slack_incoming/fixtures/attachment.json

22 lines
1.3 KiB
JSON

{
"channel": "#prometheus-alerts",
"username": "Alertmanager",
"blocks": null,
"attachments": [
{
"title": "[FIRING:2] InstanceDown for api-server (env=\"prod\", severity=\"critical\")",
"title_link": "https://alertmanager.local//#/alerts?receiver=default",
"text": ":chart_with_upwards_trend: *<http://generator.local/1|Graph>* :notebook: *<https://runbook.local/1|Runbook>*\n\n*Alert details*:\n*Alert:* api-server down - `critical`\n*Description:* api-server at 1.2.3.4:8080 couldn't be scraped *Details:*\n • *alertname:* `InstanceDown`\n • *env:* `prod`\n • *instance:* `1.2.3.4:8080`\n • *job:* `api-server`\n • *severity:* `critical`\n\n*Alert:* api-server down - `critical`\n*Description:* api-server at 1.2.3.4:8081 couldn't be scraped *Details:*\n • *alertname:* `InstanceDown`\n • *env:* `prod`\n • *instance:* `1.2.3.4:8081`\n • *job:* `api-server`\n • *severity:* `critical`\n \n",
"fallback": "[FIRING:2] InstanceDown api-server (prod critical) | https://alertmanager.local//#/alerts?receiver=default",
"callback_id": "",
"footer": "",
"color": "danger",
"mrkdwn_in": [
"fallback",
"pretext",
"text"
]
}
]
}