can parse slack messages from scraping channel history too
This commit is contained in:
57
testdata/slack_events/reingested_alert.json
vendored
Normal file
57
testdata/slack_events/reingested_alert.json
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"user": "U03RUK7FBUY",
|
||||
"type": "message",
|
||||
"ts": "1712892637.037639",
|
||||
"edited": {
|
||||
"user": "B03RHGBPH2M",
|
||||
"ts": "1712896236.000000"
|
||||
},
|
||||
"bot_id": "B03RHGBPH2M",
|
||||
"app_id": "A286WATV2",
|
||||
"text": "",
|
||||
"team": "T9RQLQ0KV",
|
||||
"bot_profile": {
|
||||
"id": "B03RHGBPH2M",
|
||||
"app_id": "A286WATV2",
|
||||
"name": "Opsgenie for Alert Management",
|
||||
"icons": {
|
||||
"image_36": "https://avatars.slack-edge.com/2019-05-30/652285939191_7831939cc30ef7159561_36.png",
|
||||
"image_48": "https://avatars.slack-edge.com/2019-05-30/652285939191_7831939cc30ef7159561_48.png",
|
||||
"image_72": "https://avatars.slack-edge.com/2019-05-30/652285939191_7831939cc30ef7159561_72.png"
|
||||
},
|
||||
"deleted": false,
|
||||
"updated": 1658887059,
|
||||
"team_id": "T9RQLQ0KV"
|
||||
},
|
||||
"attachments": [
|
||||
{
|
||||
"id": 1,
|
||||
"color": "2ecc71",
|
||||
"fallback": "\"[Grafana]: Firing: Alertconfig Workflow Failed\" <https://opsg.in/a/i/render/bdbbe5a6-738b-4643-9267-39d8dfcb2ead-1712892636514|11061>\nTags: alertname:Alertconfig Workflow Failed, grafana_folder:Datastores, rule_uid:a7639f7e-6950-41be-850a-b22119f74cbb",
|
||||
"text": "At least one alertconfig run has failed unexpectedly.\nDashboard: <https://grafana.render.com/d/VLZU83YVk?orgId=1>\nPanel: <https://grafana.render.com/d/VLZU83YVk?orgId=1&viewPanel=17>\nSource: <https://grafana.render.com/alerting/grafana/fa7b06b8-b4d8-4979-bce7-5e1c432edd81/view?orgId=1>",
|
||||
"title": "#11061: [Grafana]: Firing: Alertconfig Workflow Failed",
|
||||
"title_link": "https://opsg.in/a/i/render/bdbbe5a6-738b-4643-9267-39d8dfc$2ead-1712892636514",
|
||||
"callback_id": "bbd4a269-08a9-470e-ba79-ce238ac03dc7_05fa2e9b-bec4-4a7e-842d-36043d267a13_11061",
|
||||
"fields": [
|
||||
{
|
||||
"value": "P3",
|
||||
"title": "Priority",
|
||||
"short": true
|
||||
},
|
||||
{
|
||||
"value": "alertname:Alertconfig Workflow Failed, grafana_folder:Datastores, rule_uid:a7639f7e-6950-41be-850a-b22119f74cbb",
|
||||
"title": "Tags",
|
||||
"short": true
|
||||
},
|
||||
{
|
||||
"value": "Datastores Non-Critical",
|
||||
"title": "Routed Teams",
|
||||
"short": true
|
||||
}
|
||||
],
|
||||
"mrkdwn_in": [
|
||||
"text"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user