Skip to content

Commit 4fc6d16

Browse files
authored
🔧 chore(slack): add integration_id to slack alert notif slo context (#91956)
1 parent 4df8d3d commit 4fc6d16

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/sentry/integrations/slack/actions/notification.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ def _send_slack_message(
148148
"error": str(e),
149149
"project_id": event.project_id,
150150
"event_id": event.event_id,
151+
"integration_id": client.integration_id,
151152
}
152153

153154
lifecycle.add_extras(log_params)

src/sentry/integrations/slack/utils/notifications.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ def _send_notification(
276276
"error": str(e),
277277
"incident_id": metric_issue_context.id,
278278
"incident_status": str(metric_issue_context.new_status),
279+
"integration_id": integration.id,
279280
}
280281
if channel:
281282
log_params["channel_id"] = channel

0 commit comments

Comments
 (0)