mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-08-02 11:31:52 +08:00

* feat: add opentelemetry-instrumentation-threading library * fix: update python file with black formatter * fix: modified title underline too short issue * fix: modified library sorted via isort tool * fix: modified CHANGELOG.md and remove unused parameter * test: migrated unit test cases from the #1582 to this project * chroe: updated the tox.ini test commands * fix: fixed the lint issue * feat: support ThreadPool and update document * fix: fixed the lint issue * refactor: remove redundant class and simplify capture OTel context usage * fix: removed unused parameter * test: added a new test case for thread pool * fix: remove unused return response * refactor: compared the array * fix: remove f-string * fix: fixed pylint issue * fix: test library * fix: updated CHANGELOG.md --------- Co-authored-by: Aaron Abbott <aaronabbott@google.com>
26 lines
880 B
ReStructuredText
26 lines
880 B
ReStructuredText
OpenTelemetry threading Instrumentation
|
|
=======================================
|
|
|
|
|pypi|
|
|
|
|
.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-threading.svg
|
|
:target: https://pypi.org/project/opentelemetry-instrumentation-threading/
|
|
|
|
This library provides instrumentation for the `threading` module to ensure that
|
|
the OpenTelemetry context is propagated across threads. It is important to note
|
|
that this instrumentation does not produce any telemetry data on its own. It
|
|
merely ensures that the context is correctly propagated when threads are used.
|
|
|
|
Installation
|
|
------------
|
|
|
|
::
|
|
|
|
pip install opentelemetry-instrumentation-threading
|
|
|
|
References
|
|
----------
|
|
|
|
* `OpenTelemetry Threading Tracing <https://opentelemetry-python-contrib.readthedocs.io/en/latest/instrumentation/threading/threading.html>`_
|
|
* `OpenTelemetry Project <https://opentelemetry.io/>`_
|