Guance OpenTelemetry Python Distro
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file guance_opentelemetry_distro-0.63b6.tar.gz.
File metadata
- Download URL: guance_opentelemetry_distro-0.63b6.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24b635a96bf19f690afa692116b5c0f70469c93e6b92780d01ca3fe142173d6c
|
|
| MD5 |
2f9d1a6743b5fe4fde28f0ad0f486e8f
|
|
| BLAKE2b-256 |
90badab68f8a3fa7ec8eaa77a82a2b39b47474c271c33e73ade1dbe78ef921e5
|
File details
Details for the file guance_opentelemetry_distro-0.63b6-py3-none-any.whl.
File metadata
- Download URL: guance_opentelemetry_distro-0.63b6-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9516e251c8271278095f477007be724c4cd851017be370d9792c52733accb97
|
|
| MD5 |
799db1c25926d22c638f915da7b1e6df
|
|
| BLAKE2b-256 |
adb25d38eaf0fd699a83ea33f124e56e9124d4779598fed92ce9463a1efe4247
|