-
Notifications
You must be signed in to change notification settings - Fork 90
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
[COST-4715] sentry -> glitchtip cleanup p1 #5010
Conversation
5d5b8fe
to
bbcb95a
Compare
2ef7837
to
4a12de0
Compare
/retest |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #5010 +/- ##
=====================================
Coverage 94.1% 94.1%
=====================================
Files 377 377
Lines 31233 31233
Branches 3708 3708
=====================================
Hits 29380 29380
Misses 1181 1181
Partials 672 672 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. Here are some nitpick question:
traces_sampler=traces_sampler, | ||
) | ||
LOG.info("Sentry setup.") | ||
# TODO: remove the following in favor of the above `if` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you plan to remove this TODO
in a followup pr?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, these cannot be removed until the other envs are switched to use the new variables.
@@ -34,6 +42,7 @@ def traces_sampler(sampling_context): | |||
traces_sampler=traces_sampler, | |||
) | |||
LOG.info("Sentry setup.") | |||
# TODO: remove the following in favor of the above `if` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you plan to remove this TODO
in a followup pr?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ltgm! 👍🏾
Jira Ticket
COST-4715
Description
API_SENTRY_DSN_KEY
,CELERY_SENTRY_DSN_KEY
,LISTENER_SENTRY_DSN_KEY
,SOURCE_SENTRY_DSN_KEY
withGLITCHTIP_KEY_NAME
KOKU_ENABLE_SENTRY
,KOKU_SENTRY_DSN
, andKOKU_SENTRY_ENVIRONMENT
) which will consolidate several different SENTRY env variables.This PR is written so that the old variables are still used. Once we switch stage/prod over to the new variables, we can remove them entirely.
Release Notes