GNU Backtrace
The GNU backtrace integration parses native stack trace produced by backtrace_symbols
from error messages and concatenates them with the Python traceback.
It is currently tested to work with server exceptions raised by clickhouse-driver
.
This integration is experimental. It may be removed in minor versions. When enabling this integration, expect to see new event groups due to new stack trace frames.
Add GnuBacktraceIntegration()
to your integrations
list:
Copied
import sentry_sdk
from sentry_sdk.integrations.gnu_backtrace import GnuBacktraceIntegration
sentry_sdk.init("https://examplePublicKey@o0.ingest.sentry.io/0", integrations=[GnuBacktraceIntegration()])
- Package:
- pypi:sentry-sdk
- Version:
- 2.12.0
- Repository:
- https://github.com/getsentry/sentry-python