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

[MX-111] - Update Sentry #3037

Merged
merged 9 commits into from
Feb 26, 2020
Merged

[MX-111] - Update Sentry #3037

merged 9 commits into from
Feb 26, 2020

Conversation

brainbicycle
Copy link
Contributor

@brainbicycle brainbicycle commented Feb 25, 2020

Finally ready for review! Thanks for the help!

https://artsyproduct.atlassian.net/browse/MX-111

  • Update sentry node module and usage in emission
  • Adds patch to interleave native breadcrumbs with javascript breadcrumbs courtesy @ashfurrow
  • Removes a patch for the old sentry library

Here is an event with native breadcrumbs interleaved with javascript after the patch:
https://sentry.io/organizations/artsynet/issues/1493286938/events/d142f9410a5b4bda9447a8e45471d7f0/?project=166818

Here is a native crash showing only native breadcrumbs:
https://sentry.io/organizations/artsynet/issues/1531708186/?project=166818&query=&statsPeriod=14d

Co-authored with @ashfurrow @ds300

@brainbicycle brainbicycle changed the title [MX-111] - Update Sentry WIP - [MX-111] - Update Sentry Feb 25, 2020
@brainbicycle brainbicycle changed the title WIP - [MX-111] - Update Sentry [MX-111] - Update Sentry Feb 25, 2020
Copy link
Contributor

@ds300 ds300 left a comment

Choose a reason for hiding this comment

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

This looks perfect, thank you 🙏

Comment on lines +140 to +143
Sentry.withScope(scope => {
scope.setExtra("slug", this.props.artworkAboveTheFold.slug)
Sentry.captureMessage("failed to refresh artwork")
})
Copy link
Contributor

Choose a reason for hiding this comment

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

[no action required] ooh, interesting, this Hub/Scope abstraction seems really useful. For future work it might be useful for us to provide a scoped hub for each page 🤔 I'll add a ticket to the backlog.

@ds300 ds300 merged commit f9b1984 into master Feb 26, 2020
@ds300 ds300 deleted the update-sentry-take-3 branch February 26, 2020 14:10
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