Python
{{% lang_instrumentation_index_head python /%}}
Version support¶
OpenTelemetry-Python supports Python 3.6 and higher.
Installation¶
The API and SDK packages are available on PyPI, and can be installed via pip:
In addition, there are several extension packages which can be installed separately as:
These are for exporter and instrumentation packages respectively. The Jaeger, Zipkin, Prometheus, OTLP and OpenCensus Exporters can be found in the exporter directory of the repository. Instrumentations and additional exporters can be found in the contrib repo instrumentation and exporter directories.
Extensions¶
To find related projects like exporters, instrumentation libraries, tracer implementations, etc., visit the Registry.
Installing Cutting-edge Packages¶
There is some functionality that has not yet been released to PyPI. In that situation, you may want to install the packages directly from the repo. This can be done by cloning the repository and doing an editable install:
Repositories and benchmarks¶
- Main repo: opentelemetry-python
- Contrib repo: opentelemetry-python-contrib