Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Guance OpenTelemetry Distro

pypi

Installation

pip install guance-opentelemetry-distro

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.

Common profiling parameters:

  • OTEL_PROFILING_ENABLED

  • OTEL_PROFILING_EXPORTER (otlp or pprof)

  • OTEL_PROFILING_SAMPLE_INTERVAL

  • OTEL_PROFILING_EXPORT_INTERVAL

  • OTEL_PROFILING_MAX_FRAMES

  • OTEL_PROFILING_EXCEPTION_ENABLED

  • OTEL_PROFILING_EXCEPTION_SAMPLING_INTERVAL

  • OTEL_PROFILING_EXCEPTION_COLLECT_MESSAGE

  • OTEL_PROFILING_LOCK_ENABLED

  • OTEL_PROFILING_MEMORY_ENABLED

  • OTEL_PROFILING_MEMORY_INTERVAL

  • OTEL_PROFILING_MEMORY_TOP_STATS

  • OTEL_PROFILING_PPROF_PATH

  • OTEL_PROFILING_PPROF_UPLOAD_URL

  • OTEL_PROFILING_PPROF_HEADERS

  • OTEL_EXPORTER_OTLP_PROFILES_PROTOCOL

  • OTEL_EXPORTER_OTLP_PROFILES_ENDPOINT

  • OTEL_EXPORTER_OTLP_PROFILES_HEADERS

Example:

export OTEL_PROFILING_ENABLED=true
export OTEL_PROFILING_EXCEPTION_ENABLED=true
export OTEL_PROFILING_LOCK_ENABLED=true
export OTEL_PROFILING_MEMORY_ENABLED=true
export OTEL_PROFILING_PPROF_UPLOAD_URL=http://localhost:9529/profiling/v1/input
gtrace python app.py

References

Metadata

Release files for guance-opentelemetry-distro 0.63b7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for guance-opentelemetry-distro 0.63b7
File Size Uploaded Provenance Actions
guance_opentelemetry_distro-0.63b7.tar.gz 3.4 kB Without provenance Details for guance_opentelemetry_distro-0.63b7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for guance-opentelemetry-distro 0.63b7
File Interpreter ABI Platform Actions
guance_opentelemetry_distro-0.63b7-py3-none-any.whl Python 3 none any Details for guance_opentelemetry_distro-0.63b7-py3-none-any.whl

Total release size: 7.5 kB

Release files / guance_opentelemetry_distro-0.63b7.tar.gz

Download URL guance_opentelemetry_distro-0.63b7.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7acf3483ec273e4f4ab41f62375f24c1a1c94f1413f7658ca418b239aa656230
BLAKE2b-256 checksum
How to use checksums
2b353775da7b3badd609a64d02a44424a3e49a1f2c3a1861c7837db27d02ee38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / guance_opentelemetry_distro-0.63b7-py3-none-any.whl

Download URL guance_opentelemetry_distro-0.63b7-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
afaefd5d38be4bd0e76386bf8c28be311e3766196478fb5e87a0d0ec72f34af0
BLAKE2b-256 checksum
How to use checksums
2cc47f95c61d48f02f81270145dc0b6f1d11521fc084fe121b625171156febd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for guance-opentelemetry-distro 0.63b7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page