getsentry / getsentry/sentry

Allow "Additional data" (extra) to be displayed in Slack integration notification

Open
#58,921 12 comments 13 reactions 0 assignees View on GitHub
Feature Product Area: Settings - Integrations
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
1d 5h
Merged PRs (30d)
624

Description

### Problem Statement

I want to be able to send additional data from an event and have it showing up in Slack directly, for quicker triages.

Example:
```
Sentry.captureMessage('Test 1', {
extra: {
test: 'test',
now: Date.now(),
now_iso: new Date(),
},
});
```

Which displays in Sentry here:
Screenshot 2023-10-27 at 9 03 45 AM

But nothing appears in Slack, I even tried to set the tags option in the alerts notification to include `extra`, but I think it's considered something else and not really a tag internally.

### Solution Brainstorm

It would be nice to have an option where it would be displayed, even if it's under a 3-backtick markdown block.

### Product Area

Alerts

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.