mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-28 20:52:57 +08:00

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com> Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com> Co-authored-by: Leighton Chen <lechen@microsoft.com>
103 lines
2.8 KiB
ReStructuredText
103 lines
2.8 KiB
ReStructuredText
OpenTelemetry-Python-Contrib
|
|
============================
|
|
|
|
Complimentary instrumentation and vendor-specific packages for use with the
|
|
Python `OpenTelemetry <https://opentelemetry.io/>`_ client.
|
|
|
|
.. image:: https://img.shields.io/badge/slack-chat-green.svg
|
|
:target: https://cloud-native.slack.com/archives/C01PD4HUVBL
|
|
:alt: Slack Chat
|
|
|
|
|
|
**Please note** that this library is currently in _beta_, and shouldn't
|
|
generally be used in production environments.
|
|
|
|
Installation
|
|
------------
|
|
|
|
There are several complimentary packages available on PyPI which can be
|
|
installed separately via pip:
|
|
|
|
.. code-block:: sh
|
|
|
|
pip install opentelemetry-exporter-{exporter}
|
|
pip install opentelemetry-instrumentation-{instrumentation}
|
|
pip install opentelemetry-sdk-extension-{sdkextension}
|
|
|
|
A complete list of packages can be found at the
|
|
`Contrib repo instrumentation <https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation>`_
|
|
and `Contrib repo exporter <https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/exporter>`_ directories.
|
|
|
|
Extensions
|
|
----------
|
|
|
|
Visit `OpenTelemetry Registry <https://opentelemetry.io/registry/?s=python>`_ to
|
|
find a lot of related projects like exporters, instrumentation libraries, tracer
|
|
implementations, resource, 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 <https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs>`_:
|
|
|
|
.. code-block:: sh
|
|
|
|
git clone https://github.com/open-telemetry/opentelemetry-python-contrib.git
|
|
cd opentelemetry-python-contrib
|
|
pip install -e ./instrumentation/opentelemetry-instrumentation-flask
|
|
pip install -e ./instrumentation/opentelemetry-instrumentation-botocore
|
|
pip install -e ./sdk-extension/opentelemetry-sdk-extension-aws
|
|
pip install -e ./resource/opentelemetry-resource-detector-container
|
|
|
|
|
|
.. toctree::
|
|
:maxdepth: 2
|
|
:caption: OpenTelemetry Instrumentations
|
|
:name: Instrumentations
|
|
:glob:
|
|
|
|
instrumentation/**
|
|
|
|
.. toctree::
|
|
:maxdepth: 2
|
|
:caption: OpenTelemetry Propagators
|
|
:name: Propagators
|
|
:glob:
|
|
|
|
propagator/**
|
|
|
|
.. toctree::
|
|
:maxdepth: 2
|
|
:caption: OpenTelemetry Performance
|
|
:name: Performance
|
|
:glob:
|
|
|
|
performance/**
|
|
|
|
.. toctree::
|
|
:maxdepth: 2
|
|
:caption: OpenTelemetry SDK Extensions
|
|
:name: SDK Extensions
|
|
:glob:
|
|
|
|
sdk-extension/**
|
|
|
|
.. toctree::
|
|
:maxdepth: 2
|
|
:caption: OpenTelemetry Resource Detectors
|
|
:name: Resource Detectors
|
|
:glob:
|
|
|
|
resource/**
|
|
|
|
Indices and tables
|
|
------------------
|
|
|
|
* :ref:`genindex`
|
|
* :ref:`modindex`
|
|
* :ref:`search`
|