The Python OpenTelemetry client.

Slack Chat

This documentation describes the opentelemetry-api, opentelemetry-sdk, and several integration packages.

The library is currently stable for tracing. Support for metrics and logging are currently under development and are considered experimental.


OpenTelemetry-Python supports Python 3.6 and higher.


The API and SDK packages are available on PyPI, and can installed via pip:

pip install opentelemetry-api
pip install opentelemetry-sdk

In addition, there are several extension packages which can be installed separately as:

pip install opentelemetry-exporter-{exporter}
pip install opentelemetry-instrumentation-{instrumentation}

These are for exporter and instrumentation packages respectively. The Jaeger, Zipkin, 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 Contrib repo exporter directories.


Visit OpenTelemetry Registry to find related projects like exporters, instrumentation libraries, tracer implementations, etc.

Installing Cutting Edge Packages

While the project is pre-1.0, there may be significant 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:

git clone
cd opentelemetry-python
pip install -e ./opentelemetry-api
pip install -e ./opentelemetry-sdk

Indices and tables