Skip to content

Sentry SDK setup#762

Merged
MarkKoz merged 9 commits into
masterfrom
setup-sentry-sdk
Feb 21, 2020
Merged

Sentry SDK setup#762
MarkKoz merged 9 commits into
masterfrom
setup-sentry-sdk

Conversation

@jb3
Copy link
Copy Markdown
Member

@jb3 jb3 commented Feb 21, 2020

Implement the Sentry SDK to the bot.

This PR will also setup basic tags to link errors together.

@jb3
Copy link
Copy Markdown
Member Author

jb3 commented Feb 21, 2020

image

@jb3
Copy link
Copy Markdown
Member Author

jb3 commented Feb 21, 2020

This PR has also had to remove the API logging handler (on our plan anyway) since it was blocking sentry from making it's API calls.

@jb3 jb3 force-pushed the setup-sentry-sdk branch 2 times, most recently from 5c35d8c to 93c069b Compare February 21, 2020 11:30
@jb3 jb3 force-pushed the setup-sentry-sdk branch from 93c069b to aa12d72 Compare February 21, 2020 17:22
@jb3 jb3 marked this pull request as ready for review February 21, 2020 17:26
@jb3 jb3 requested a review from a team as a code owner February 21, 2020 17:26
@jb3 jb3 requested review from SebastiaanZ and eivl and removed request for a team February 21, 2020 17:26
Comment thread bot/__main__.py Outdated
Comment thread bot/cogs/error_handler.py
@MarkKoz MarkKoz added a: backend Related to internal functionality and utilities (error_handler, logging, security, utils and core) p: 1 - high High Priority t: feature New feature or request labels Feb 21, 2020
@jb3 jb3 force-pushed the setup-sentry-sdk branch from ad4f53c to 24ddab5 Compare February 21, 2020 17:51
Copy link
Copy Markdown
Contributor

@SebastiaanZ SebastiaanZ left a comment

Choose a reason for hiding this comment

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

Tested, everything seems to work. I'm not familiar enough with the sentry_sdk to think deeply about the actual integration, though.

@MarkKoz
Copy link
Copy Markdown
Contributor

MarkKoz commented Feb 21, 2020

Is this ready to be merged @Jos-B? Is the environment variable set in prod?

@jb3
Copy link
Copy Markdown
Member Author

jb3 commented Feb 21, 2020

@SebastiaanZ It's something which we can adapt as we find a workflow which suits us well. Right now just storing errors somewhere is useful and we'll find out if we need anything else as time goes on.

@MarkKoz the variable is in prod 👍

@MarkKoz MarkKoz merged commit 1498dfa into master Feb 21, 2020
@MarkKoz MarkKoz deleted the setup-sentry-sdk branch February 21, 2020 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: backend Related to internal functionality and utilities (error_handler, logging, security, utils and core) p: 1 - high High Priority t: feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants