Getting Started • API Documentation • Getting In Touch (Gitter)
This page describes the Python OpenTelemetry implementation. OpenTelemetry is an observability framework for cloud-native software.
The goal of OpenTelemetry is to provide a single set of APIs to capture distributed traces and metrics from your application and send them to an observability platform. This project lets you do just that for applications written in Python.
This repository includes multiple installable packages. The opentelemetry-api
package includes abstract classes and no-op implementations that comprise the OpenTelemetry API following the
OpenTelemetry specification.
The opentelemetry-sdk
package is the reference implementation of the API.
Libraries that produce telemetry data should only depend on opentelemetry-api
,
and defer the choice of the SDK to the application developer. Applications may
depend on opentelemetry-sdk
or another package that implements the API.
The API and SDK packages are available on the Python Package Index (PyPI). You can install them via pip
with the following commands:
pip install opentelemetry-api
pip install opentelemetry-sdk
The
instrumentation/
directory includes OpenTelemetry instrumentation packages. You can install the packages separately with the following command:
pip install opentelemetry-instrumentation-{instrumentation}
The
exporter/
directory includes OpenTelemetry exporter packages. You can install the packages separately with the following command:
pip install opentelemetry-exporter-{exporter}
The
propagator/
directory includes OpenTelemetry propagator packages. You can install the packages separately with the following command:
pip install opentelemetry-propagator-{propagator}
To install the development versions of these packages instead, clone or fork this repository and perform an editable install:
pip install -e ./opentelemetry-api
pip install -e ./opentelemetry-sdk
pip install -e ./instrumentation/opentelemetry-instrumentation-{instrumentation}
For additional exporter and instrumentation packages, see the
opentelemetry-python-contrib
repository.
The online documentation is available at https://opentelemetry-python.readthedocs.io/. To access the latest version of the documentation, see https://opentelemetry-python.readthedocs.io/en/latest/.
For information about contributing to OpenTelemetry Python, see CONTRIBUTING.md.
We meet weekly on Thursdays at 9AM PST. The meeting is subject to change depending on contributors' availability. Check the OpenTelemetry community calendar for specific dates.
Meetings take place via Zoom video conference. The passcode is 77777.
Meeting notes are available as a public Google doc. For edit access, get in touch on Gitter.
Approvers (@open-telemetry/python-approvers):
- Aaron Abbott, Google
- Carlos Alberto Cortez, Lightstep
- Tahir H. Butt DataDog
- Chris Kleinknecht, Google
- Diego Hurtado
- Hector Hernandez, Microsoft
- Owais Lone, Splunk
- Reiley Yang, Microsoft
- Yusuke Tsutsumi, Google
For more information about the approver role, see the community repository.
Maintainers (@open-telemetry/python-maintainers):
- Alex Boten, Lightstep
- Leighton Chen, Microsoft
For more information about the maintainer role, see the community repository.
For project boards and milestones, see the following links:
We try to keep these links accurate, so they're the best place to go for questions about project status. The dates and features described in the issues and milestones are estimates and subject to change.