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_PYTHON_PROFILING_ENABLED=true
gtrace python app.py

When OTEL_PYTHON_PROFILING_PPROF_UPLOAD_URL is configured and OTEL_PYTHON_PROFILING_EXPORTER is unset, profiling defaults to a legacy-compatible pprof upload layout. Explicit OTEL_PYTHON_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.63b3.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.63b3-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for guance_opentelemetry_distro-0.63b3.tar.gz
Algorithm Hash digest
SHA256 ed1fe68d14e79e32628bc7c99dd435c1d875896c3d6ab569d6888c1b0b23e255
MD5 601d71b132cdb0f93eb9a5c0540234b1
BLAKE2b-256 c58a5bb0bb89cb3796852ec832d64aa8c533aa04dfe7b2ffee07ff88ec33def1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for guance_opentelemetry_distro-0.63b3-py3-none-any.whl
Algorithm Hash digest
SHA256 e8a0333e0346a90058d87741514c1c0476e492e346cf7fa083ddec3e3bed88ed
MD5 cb7a553b60ab1d1cce1e3faf0aaa981e
BLAKE2b-256 5d2059574752190673aab0c07a306cebeac71f321e4dbdf771554b283781438a

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