Commit 39c0754
fix(slack): Use set_user for email in Slack event webhook (#112530)
Replace `set_tag("user.email", ...)` with `set_user({"email": ...})` so
the
user email is properly stored as `sentry.user.email` in span attributes,
matching the EAP search attribute definition. Previously, `user.email`
was
never populated for spans with `slack.event_type` because the tag key
didn't
match the expected internal attribute name.
Also add a few other fields to user
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent d98f57b commit 39c0754
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
283 | 289 | | |
284 | 290 | | |
285 | 291 | | |
| |||
0 commit comments