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

Missing Sentry in Celery env #390

Closed
webknjaz opened this issue Sep 19, 2020 · 0 comments · Fixed by #423
Closed

Missing Sentry in Celery env #390

webknjaz opened this issue Sep 19, 2020 · 0 comments · Fixed by #423

Comments

@webknjaz
Copy link

While working on Sentry integration for octomachinery, I was exploring how it's done in various places.
I came across #239 and it looks like it's only integrated into the web-server that receives events from GitHub but not into the environment that runs backporting tasks.

This https://docs.sentry.io/platforms/python/guides/celery/ suggests that the init invocation should also be added into the Celery worker runtime at the very beginning (best before any imports!).
It also suggests that sentry_sdk.integrations.celery.CeleryIntegration should be added explicitly.

cc @Mariatta FYI

It's probably a good first issue for some folks doing Hacktoberfest later in October.

Mariatta added a commit that referenced this issue Dec 14, 2020
Mariatta added a commit that referenced this issue Dec 14, 2020
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 a pull request may close this issue.

1 participant