opentelemetry-instrumentation-requests
0.66b2
0.66b1
0.66b0
0.65b0
0.64b0
0.63b1
0.63b0
0.62b1
0.62b0
0.61b0
0.60b1
0.60b0
0.59b0
0.58b0
0.57b0
0.56b0
0.55b1
0.55b0
0.54b1
0.54b0
0.53b1
0.53b0
0.52b1
0.52b0
0.51b0
0.50b0
0.49b2
0.49b1
0.49b0
0.48b0
0.47b0
0.46b0
0.45b0
0.44b0
0.43b0
0.42b0
0.41b0
0.40b0
0.39b0
0.38b0
0.37b0
0.36b0
0.35b0
0.34b0
0.33b0
0.32b0
0.31b0
0.30b1
0.30b0
0.29b0
0.28b1
0.28b0
0.27b0
0.26b1
0.25b2
0.25b1
0.25b0
0.24b0
0.23b2
0.23b0
0.22b0
0.21b0
0.20b0
0.19b0
0.18b1
0.18b0
0.17b0
0.16b1
0.16b0
0.15b0
0.14b0
0.13b0
0.12b0
0.66b2
0.66b1
0.66b0
0.65b0
0.64b0
0.63b1
0.63b0
0.62b1
0.62b0
0.61b0
0.60b1
0.60b0
0.59b0
0.58b0
0.57b0
0.56b0
0.55b1
0.55b0
0.54b1
0.54b0
0.53b1
0.53b0
0.52b1
0.52b0
0.51b0
0.50b0
0.49b2
0.49b1
0.49b0
0.48b0
0.47b0
0.46b0
0.45b0
0.44b0
0.43b0
0.42b0
0.41b0
0.40b0
0.39b0
0.38b0
0.37b0
0.36b0
0.35b0
0.34b0
0.33b0
0.32b0
0.31b0
0.30b1
0.30b0
0.29b0
0.28b1
0.28b0
0.27b0
0.26b1
0.25b2
0.25b1
0.25b0
0.24b0
0.23b2
0.23b0
0.22b0
0.21b0
0.20b0
0.19b0
0.18b1
0.18b0
0.17b0
0.16b1
0.16b0
0.15b0
0.14b0
0.13b0
0.12b0
توضیحات
OpenTelemetry requests instrumentation
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | opentelemetry-instrumentation-requests-0.66b2 |
| نام | opentelemetry-instrumentation-requests |
| نسخه کتابخانه | 0.66b2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | OpenTelemetry Authors <cncf-opentelemetry-contributors@lists.cncf.io> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/opentelemetry-instrumentation-requests/ |
| مجوز | - |
OpenTelemetry Requests Instrumentation
======================================
|pypi|
.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-requests.svg
:target: https://pypi.org/project/opentelemetry-instrumentation-requests/
This library allows tracing HTTP requests made by the
`requests <https://requests.readthedocs.io/en/master/>`_ library.
Installation
------------
::
pip install opentelemetry-instrumentation-requests
Configuration
-------------
Exclude lists
*************
To exclude certain URLs from being tracked, set the environment variable ``OTEL_PYTHON_REQUESTS_EXCLUDED_URLS``
(or ``OTEL_PYTHON_EXCLUDED_URLS`` as fallback) with comma delimited regexes representing which URLs to exclude.
For example,
::
export OTEL_PYTHON_REQUESTS_EXCLUDED_URLS="client/.*/info,healthcheck"
will exclude requests such as ``https://site/client/123/info`` and ``https://site/xyz/healthcheck``.
References
----------
* `OpenTelemetry requests Instrumentation <https://opentelemetry-python-contrib.readthedocs.io/en/latest/instrumentation/requests/requests.html>`_
* `OpenTelemetry Project <https://opentelemetry.io/>`_
* `OpenTelemetry Python Examples <https://github.com/open-telemetry/opentelemetry-python/tree/main/docs/examples>`_
نیازمندی
| مقدار | نام |
|---|---|
| - | opentelemetry-api~=1.12 |
| - | opentelemetry-instrumentation==0.66b2 |
| - | opentelemetry-semantic-conventions==0.66b2 |
| - | opentelemetry-util-http==0.66b2 |
| xtr | requests~=2.0; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl opentelemetry-instrumentation-requests-0.66b2:
pip install opentelemetry-instrumentation-requests.whl
نصب پکیج tar.gz opentelemetry-instrumentation-requests-0.66b2:
pip install opentelemetry-instrumentation-requests.tar.gz