From 2243773b3908b46a0d98701d6dd5ab506bb58886 Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Wed, 20 Sep 2023 08:39:38 +0200 Subject: [PATCH] Python: Getting Started gnu backtrace (#7863) * Python: Getting Started gnu backtrace * style(lint): Auto commit lint changes * Update src/platforms/python/common/configuration/integrations/gnu_backtrace.mdx Co-authored-by: Shana Matthews --------- Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com> Co-authored-by: Shana Matthews --- .../configuration/integrations/gnu_backtrace.mdx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/platforms/python/common/configuration/integrations/gnu_backtrace.mdx b/src/platforms/python/common/configuration/integrations/gnu_backtrace.mdx index f37695b2986f5..d99cf3d8e18fb 100644 --- a/src/platforms/python/common/configuration/integrations/gnu_backtrace.mdx +++ b/src/platforms/python/common/configuration/integrations/gnu_backtrace.mdx @@ -4,20 +4,14 @@ description: "Learn about the GNU backtrace integration and how to add it to you sidebar_order: 50 --- - - The GNU backtrace integration parses native stack trace produced by [`backtrace_symbols`](https://linux.die.net/man/3/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`](https://github.com/mymarilyn/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. - - - ## Install +Install `sentry-sdk` from PyPI. + ```bash pip install --upgrade 'sentry-sdk' ``` @@ -39,3 +33,9 @@ sentry_sdk.init( ], ) ``` + +## Verify + +The GNU backtrace integration is tested with server exceptions raised by [`clickhouse-driver`](https://github.com/mymarilyn/clickhouse-driver). + +Other libraries must emit exceptions that have backtrace-compatible values for the GNU backtrace integration to parse the exceptions.