Skip to main content

Guance OpenTelemetry Python Distro

Project description

pypi

Installation

pip install guance-opentelemetry-distro

To install the distro with Python profiling support:

pip install guance-opentelemetry-distro[profiling]

This package provides entrypoints to configure OpenTelemetry.

Command Line

The package also installs a gtrace command as a shorthand for auto-instrumented launches:

gtrace uvicorn fastapi-demo:app --host 127.0.0.1 --port 18082

Profiling

The profiling extra installs the opentelemetry-sdk-extension-profiling package, which registers an opentelemetry_pre_instrument entry point. Enable it with:

export OTEL_PROFILING_ENABLED=true
gtrace python app.py

When OTEL_PROFILING_PPROF_UPLOAD_URL is configured and OTEL_PROFILING_EXPORTER is unset, profiling defaults to a legacy-compatible pprof upload layout. Explicit OTEL_PROFILING_* settings take precedence.

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

guance_opentelemetry_distro-0.63b4.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

guance_opentelemetry_distro-0.63b4-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file guance_opentelemetry_distro-0.63b4.tar.gz.

File metadata

File hashes

Hashes for guance_opentelemetry_distro-0.63b4.tar.gz
Algorithm Hash digest
SHA256 e6a765bc984708cbaf8f48fb722d7022e64e6c80a912cb99693604bc96443f16
MD5 77b54f28ffe96a5b579df5186eea7c64
BLAKE2b-256 855fc07d6006c0b1fb00fa4607282b1de3d70f6114affcafbf9d57670d143d4f

See more details on using hashes here.

File details

Details for the file guance_opentelemetry_distro-0.63b4-py3-none-any.whl.

File metadata

File hashes

Hashes for guance_opentelemetry_distro-0.63b4-py3-none-any.whl
Algorithm Hash digest
SHA256 91adb136b743a8fa43d991291af6743d383353ec5cbad73619f0e64c9dded638
MD5 ccbce13eb13ba6b60ff9f6976860cd6e
BLAKE2b-256 5198385bb6bf5490fe4bf935a502b8a8037c44e42eb12b9b9bca1502ccb2b7db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page