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

Do more with Sentry #90

Open
3 of 6 tasks
abettermap opened this issue Sep 24, 2020 · 5 comments
Open
3 of 6 tasks

Do more with Sentry #90

abettermap opened this issue Sep 24, 2020 · 5 comments
Labels
effort: 3:3rd_place_medal: (high):3rd_place_medal: Put on some coffee and clear your afternoon. focus: 👣 workflow👣 Procedural, administrative, or other workflow-related tasks including GitHub maintenance. priority: 0 (wishlist) Some day! type: ✨ enhancement✨ New feature, improvement, or functionality

Comments

@abettermap
Copy link
Contributor

abettermap commented Sep 24, 2020

Do more with Sentry

Just about everything should be in here along with some other likely goodies as well.

  • Upload sourcemaps
  • Legit error boundary fallback component
  • Performance monitoring doesn't look like it's supported w/Legacy plan
  • Set up environments
  • Netlify build plugin (also mentioned in CI/CD, GH Actions: explore Netlify build plugins #16)
  • Release/deploy tracking
  • Alert settings

Related

#48 was a good start:

  • Connected GH repo
  • Allowed domains
  • Set as React
@abettermap abettermap added type: ✨ enhancement✨ New feature, improvement, or functionality priority: 0 (wishlist) Some day! focus: 👣 workflow👣 Procedural, administrative, or other workflow-related tasks including GitHub maintenance. effort: 3:3rd_place_medal: (high):3rd_place_medal: Put on some coffee and clear your afternoon. labels Sep 24, 2020
@abettermap
Copy link
Contributor Author

Source maps seem to be working now that Netlify env is set. Can't really test without errors though...

image

@abettermap
Copy link
Contributor Author

@rperlin-ela Sentry is working great (although part of me misses the "ignorance is bliss" days before I knew about the errors 😄 ) but I'm struggling with how to prioritize some of the errors when I don't know what percentage of users are experiencing them. I know how many users are having the errors, but is iiiiiiit 6 users out of 6 for a certain error, or 6 users out of... 60?

If it's like one dude having a ton of problems, I think the "oh well" approach is warranted. If it's tons of users, then the "oh? well. guess i need to fix that" is logical.

Anyway, Sentry has Performance monitoring capabilities, but not on our sponsored plan. I'm not sure that's what we want anyway, so perhaps this deserves to be broken out into a Google Analytics issue (small reference in #78). Then I could say "ok, 40 people hit the page that day, but only 2 had a particular error".

It's not terribly hard to set up GA, at least for a baseline thing like this. And it's excellent info (albeit creepy and stalky, but by that token most websites on the internet fall into that category) that would help me prioritize bug handling.

If you're on board I can add it to the SOW and create an issue and give you a link on how to set it up in Google (there is also Google Tag Manager that may be part of the process).

Thoughts?

@rperlin-ela
Copy link
Collaborator

rperlin-ela commented Oct 13, 2020 via email

@abettermap
Copy link
Contributor Author

Sounds good. I'd really appreciate knowing how many users are visiting so that I can prioritize Sentry error fixes (there have been around half a dozen unique ones I think), so when you have a chance please follow the steps in the issue I assigned to you and let me know what the GTM tag ID and GA tracking ID are: #108.

When you've knocked that out, I'll re-assign the issue to myself and then implement it in the code.

@abettermap
Copy link
Contributor Author

@rperlin-ela I created a custom alert in Sentry for the scenario of video/audio not being found via API, e.g. due to typo or maybe privacy settings or some of the scenarios in #72 and #116:

image

It's not bulletproof but it should send emails whenever that occurs. I get emails already but I added myself just as a check. If you'd prefer a different email address let me know and I can create a separate acct.

The other custom scenarios (and not all of these trigger a true error, I just added some as a convenience so we can catch data errors):

  1. URL is not one of the three expected formats: youtube video/playlist embed, internet archive embed
  2. some other failure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: 3:3rd_place_medal: (high):3rd_place_medal: Put on some coffee and clear your afternoon. focus: 👣 workflow👣 Procedural, administrative, or other workflow-related tasks including GitHub maintenance. priority: 0 (wishlist) Some day! type: ✨ enhancement✨ New feature, improvement, or functionality
Projects
None yet
Development

No branches or pull requests

2 participants