Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Using sentry-python with Uptrace

Uptrace is compatible with the Sentry SDK, so you can use sentry-python to send errors to Uptrace by pointing the Sentry DSN at your Uptrace project.

To run this example, create an Uptrace project to obtain a DSN and run:

pip install -r requirements.txt
UPTRACE_DSN=https://<token>@api.uptrace.dev/<project_id> python3 main.py

Then search for RuntimeError in your Uptrace project. The reported event contains the full nested exception chain (RuntimeError caused by KeyError).