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

feat: add Tokenserver origin Sentry tag #1385

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

ethowitz
Copy link
Contributor

Description

  • Add the Tokenserver origin as a Syncstorage extra to report along with Sentry errors
  • Add a timer metric for the add_users_to_node query (every request to Tokenserver that results in a user allocation will result in a write to the Spanner node in the database, which has the potential to be a major bottleneck if we see a lot of new users concurrently)

Testing

I tested this by ensuring that new user allocations succeed without issue. I will test the new Sentry error tag on dev when this PR is merged.

@ethowitz ethowitz changed the title feat: improve errors and metrics feat: add Tokenserver origin Sentry tag Aug 24, 2022
@ethowitz ethowitz merged commit 90f1017 into master Aug 25, 2022
@ethowitz ethowitz deleted the feat/improve-tokenserver-errors-and-metrics branch August 25, 2022 13:04
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.

3 participants