-
Notifications
You must be signed in to change notification settings - Fork 1
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
DM-48101: Sentry helpers #366
Conversation
* Replace Safir `SlackException` functionality with Sentry error reporting. * Replace `timings` functionality with Sentry tracing. The biggest conceptual change is that instead of putting error details on the exception objects themselves, they get put into the global-per-business-execution Sentry scope, and whatever is in the scope is sent to Sentry when an error occurs (except for a very few cases where we still attach info directly to exceptions). This instruments custom scopes and transactions and fingerprints, which are described in the new `sentry.rst` file in the docs. Finally, this uses some more general Sentry helpers proposed for Safir in lsst-sqre/safir#366.
The remaining docs issue is
You can fix this by either ignoring the link altogether (see https://documenteer.lsst.io/guides/toml-reference.html#ignore in |
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.
The integration helpers look great. My comments are really about turning the documentation page into a how-to guide rather than being a reference for the helpers.
cbd2812
to
a26f5e4
Compare
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.
Perfect, this is the documentation I was looking for. Thanks!
a26f5e4
to
f5f8025
Compare
fix docs fix linkcheck reorganize docs
f5f8025
to
eef7e5e
Compare
* Replace Safir `SlackException` functionality with Sentry error reporting. * Replace `timings` functionality with Sentry tracing. The biggest conceptual change is that instead of putting error details on the exception objects themselves, they get put into the global-per-business-execution Sentry scope, and whatever is in the scope is sent to Sentry when an error occurs (except for a very few cases where we still attach info directly to exceptions). This instruments custom scopes and transactions and fingerprints, which are described in the new `sentry.rst` file in the docs. Finally, this uses some more general Sentry helpers proposed for Safir in lsst-sqre/safir#366.
* Replace Safir `SlackException` functionality with Sentry error reporting. * Replace `timings` functionality with Sentry tracing. The biggest conceptual change is that instead of putting error details on the exception objects themselves, they get put into the global-per-business-execution Sentry scope, and whatever is in the scope is sent to Sentry when an error occurs (except for a very few cases where we still attach info directly to exceptions). This instruments custom scopes and transactions and fingerprints, which are described in the new `sentry.rst` file in the docs. Finally, this uses some more general Sentry helpers proposed for Safir in lsst-sqre/safir#366. docs fix more docs fixes fix bad autocomplete contextlib import move remove_ansi_escape_sequences no need for gafaelfawr user tag Add docstrings Init sentry in create_app split notebook execution into many methods don't shove so much into an fstring nicer self name references separate image_description and image_reference tags remove username from fingerprint transaction refactor variable for business name move tap 'make_client' span into the actual 'make_client' method transaction refactor again update sentry docs put back explicit tap client creation error add tests for sentry transactions changelog entry
No description provided.