Skip to content

Commit 59d5395

Browse files
vanand17stayseesongmarkzegarelli
authored
Sentry destination update (#4415)
* Update index.md * Update index.md * Update src/connections/destinations/catalog/sentry/index.md Co-authored-by: stayseesong <[email protected]> * Edits and image update * Update src/connections/destinations/catalog/sentry/index.md Co-authored-by: stayseesong <[email protected]> --------- Co-authored-by: stayseesong <[email protected]> Co-authored-by: markzegarelli <[email protected]>
1 parent e11093a commit 59d5395

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
204 KB
Loading

src/connections/destinations/catalog/sentry/index.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,14 @@ If you're not familiar with the Segment Specs, take a look to understand what th
2323
analytics.identify('userId123');
2424
```
2525

26-
When you call `identify` we call `Sentry.setUser` by passing in the `traits` you provided. We will map the `userId` you provide as `traits.id`.
26+
When you call `identify` Segment calls `Sentry.setUser` by passing in the `traits` you provided. Segment maps the `userId` you provide as `traits.id`.
27+
28+
## Troubleshooting
29+
30+
Since Sentry is an error tracking application, Segment needs to send something broken from the website to see the event appear in the Sentry dashboard. For example, firing the following error event from the web console, `Sentry.captureException(new Error("Some error"))`; Segment can see the relevant event payload with the `event_id` information.
31+
32+
![event_id viewable in dev tools](images/event-id.png)
33+
34+
This error will appear in Sentry with the same `event_id` displayed in developer tools. This helps verify that Segment has the correct implementation of the destination.
35+
36+

0 commit comments

Comments
 (0)