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

Consider using Sentry with scriptworkers #617

Open
bhearsum opened this issue Jan 17, 2023 · 0 comments
Open

Consider using Sentry with scriptworkers #617

bhearsum opened this issue Jan 17, 2023 · 0 comments

Comments

@bhearsum
Copy link
Contributor

We use Sentry for most of our long running web apps, mainly for its ability to track tracebacks. We ought to consider doing the same for scriptworkers. According to https://docs.sentry.io/platforms/python/#configure, it's very simple, just:

mport sentry_sdk

sentry_sdk.init(
    dsn="

https://[email protected]/6262508",

    # Set traces_sample_rate to 1.0 to capture 100%
    # of transactions for performance monitoring.
    # We recommend adjusting this value in production.
    traces_sample_rate=1.0,
)

This would allow us to get tracebacks more easily than it is through the GCP console, maybe allow self serving of alerts, notifications, etc.

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

No branches or pull requests

1 participant