--- id: opentelemetry-instrumentation version: "0.65b0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # opentelemetry-instrumentation — Instrumentation Tools & Auto Instrumentation for OpenTelemetry Python License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install opentelemetry-instrumentation uv add opentelemetry-instrumentation poetry add opentelemetry-instrumentation ## Description OpenTelemetry Instrumentation ============================= |pypi| .. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation.svg :target: https://pypi.org/project/opentelemetry-instrumentation/ Installation ------------ :: pip install opentelemetry-instrumentation This package provides commands that help automatically instrument a program: .. note:: You need to install a distro package to get auto instrumentation working. The ``opentelemetry-distro`` package contains the default distro and configurator and automatically configures some of the common options for users. For more info about ``opentelemetry-distro`` check `here `__ :: pip install "opentelemetry-distro[otlp]" When creating a custom distro and/or configurator, be sure to add entry points for each under `opentelemetry_distro` and `opentelemetry_configurator` respectfully. If you have entry points for multiple distros or configurators present in your environment, you should specify the entry point name of the distro and configurator you want to be used via the... ## AI interpretation — verify before relying Provides automatic instrumentation commands and programmatic APIs to inject OpenTelemetry tracing and metrics into Python applications without code changes, using the opentelemetry-instrument CLI or auto_instrumentation.initialize(). Verdict: Beta-stage instrumentation framework actively maintained and in the top 1000 PyPI packages with no known vulnerabilities. Low install friction and permissive licensing make it suitable for adding observability to Python applications, though users must install a separate distro package and ensure compatible library versions for auto-instrumentation to work. [View on SkillFed](https://skillfed.io/packages/opentelemetry-instrumentation) · [View on PyPI](https://pypi.org/project/opentelemetry-instrumentation/)