opentelemetry-instrumentation-requests


توضیحات

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