Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Basic OpenTelemetry Python example

To run this example, you need to install OpenTelemetry distro for Uptrace:

pip install uptrace

The run the example passing Uptrace DSN in env variables:

UPTRACE_DSN="https://<token>@uptrace.dev/<project_id>" python3 main.py

SSL

If you are getting SSL errors like this:

ssl_transport_security.cc:1468] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED

Try to use different root certificates as a workaround:

export GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=/etc/ssl/certs/ca-certificates.crt