Skip to main content

Guance OpenTelemetry Python Distro

Project description

pypi

Installation

pip install guance-opentelemetry-distro

The default installation already includes Python profiling support. The profiling extra is kept as a compatibility alias:

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 base package installs the guance-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.63b6.tar.gz (3.2 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.63b6-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for guance_opentelemetry_distro-0.63b6.tar.gz
Algorithm Hash digest
SHA256 24b635a96bf19f690afa692116b5c0f70469c93e6b92780d01ca3fe142173d6c
MD5 2f9d1a6743b5fe4fde28f0ad0f486e8f
BLAKE2b-256 90badab68f8a3fa7ec8eaa77a82a2b39b47474c271c33e73ade1dbe78ef921e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for guance_opentelemetry_distro-0.63b6-py3-none-any.whl
Algorithm Hash digest
SHA256 b9516e251c8271278095f477007be724c4cd851017be370d9792c52733accb97
MD5 799db1c25926d22c638f915da7b1e6df
BLAKE2b-256 adb25d38eaf0fd699a83ea33f124e56e9124d4779598fed92ce9463a1efe4247

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