Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add breadcrumbs to Sentry for all analytics events #1733

Merged
merged 4 commits into from
Jan 21, 2025

Conversation

joshuatbrown
Copy link
Contributor

Issues covered

https://github.com/verse-pbc/issues/issues/125

Description

Adds breadcrumbs to Sentry whenever an analytics event happens.

How to test

I'm really not sure. The app should keep working as it was before. But do these breadcrumbs show up in Sentry? I'm not sure how to find out. I think it would require us to create a crash or error since breadcrumbs only show up in those in Sentry; I don't think there's a separate view for them. But I could be wrong.

Screenshots/Video

None

@pelumy
Copy link
Contributor

pelumy commented Jan 21, 2025

👀

@pelumy
Copy link
Contributor

pelumy commented Jan 21, 2025

This looks fine to me. I tried to trigger events and see the breadcrumbs on Sentry, but it looks like we are not keeping track of the dev environment on Sentry. Only the production data is visible. Maybe we have to release this to production to see tracked breadcrumbs?

Copy link
Contributor

@pelumy pelumy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the comments! Very easy to follow through and understand.

@joshuatbrown joshuatbrown added this pull request to the merge queue Jan 21, 2025
@joshuatbrown
Copy link
Contributor Author

Yeah, I think we have to release and get errors or crashes to see breadcrumbs.

Merged via the queue into main with commit a374614 Jan 21, 2025
4 checks passed
@joshuatbrown joshuatbrown deleted the analytics-breadcrumbs branch January 21, 2025 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants