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>`_
Raw data
{
"_id": null,
"home_page": null,
"name": "opentelemetry-instrumentation-requests",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": "OpenTelemetry Authors <cncf-opentelemetry-contributors@lists.cncf.io>",
"download_url": "https://files.pythonhosted.org/packages/c5/ae/50f4ae7a795d9970b7b60af8370683608826d0134628d13e2ddd27bff914/opentelemetry_instrumentation_requests-0.45b0.tar.gz",
"platform": null,
"description": "OpenTelemetry Requests Instrumentation\n======================================\n\n|pypi|\n\n.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-requests.svg\n :target: https://pypi.org/project/opentelemetry-instrumentation-requests/\n\nThis library allows tracing HTTP requests made by the\n`requests <https://requests.readthedocs.io/en/master/>`_ library.\n\nInstallation\n------------\n\n::\n\n pip install opentelemetry-instrumentation-requests\n\nConfiguration\n-------------\n\nExclude lists\n*************\nTo exclude certain URLs from being tracked, set the environment variable ``OTEL_PYTHON_REQUESTS_EXCLUDED_URLS``\n(or ``OTEL_PYTHON_EXCLUDED_URLS`` as fallback) with comma delimited regexes representing which URLs to exclude.\n\nFor example,\n\n::\n\n export OTEL_PYTHON_REQUESTS_EXCLUDED_URLS=\"client/.*/info,healthcheck\"\n\nwill exclude requests such as ``https://site/client/123/info`` and ``https://site/xyz/healthcheck``.\n\nReferences\n----------\n\n* `OpenTelemetry requests Instrumentation <https://opentelemetry-python-contrib.readthedocs.io/en/latest/instrumentation/requests/requests.html>`_\n* `OpenTelemetry Project <https://opentelemetry.io/>`_\n* `OpenTelemetry Python Examples <https://github.com/open-telemetry/opentelemetry-python/tree/main/docs/examples>`_\n",
"bugtrack_url": null,
"license": null,
"summary": "OpenTelemetry requests instrumentation",
"version": "0.45b0",
"project_urls": {
"Homepage": "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-requests"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9ab10d996b4ababe70f5ed3c679741ffccabe2338dbc2fd3eb2a318c60437e63",
"md5": "72edfba734145393fc57934cb266c87b",
"sha256": "275851d04de518507b0411b98524602101b228b72e61f39dc627c0421ff2a81f"
},
"downloads": -1,
"filename": "opentelemetry_instrumentation_requests-0.45b0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "72edfba734145393fc57934cb266c87b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 12066,
"upload_time": "2024-03-28T19:29:56",
"upload_time_iso_8601": "2024-03-28T19:29:56.937320Z",
"url": "https://files.pythonhosted.org/packages/9a/b1/0d996b4ababe70f5ed3c679741ffccabe2338dbc2fd3eb2a318c60437e63/opentelemetry_instrumentation_requests-0.45b0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c5ae50f4ae7a795d9970b7b60af8370683608826d0134628d13e2ddd27bff914",
"md5": "fedcce965233d93fca54a3516027ee1a",
"sha256": "6bf1359284105ab50fa7465ea6c60b4a62c699408cb0260af3ac8895e8a7451a"
},
"downloads": -1,
"filename": "opentelemetry_instrumentation_requests-0.45b0.tar.gz",
"has_sig": false,
"md5_digest": "fedcce965233d93fca54a3516027ee1a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 13612,
"upload_time": "2024-03-28T19:31:26",
"upload_time_iso_8601": "2024-03-28T19:31:26.133375Z",
"url": "https://files.pythonhosted.org/packages/c5/ae/50f4ae7a795d9970b7b60af8370683608826d0134628d13e2ddd27bff914/opentelemetry_instrumentation_requests-0.45b0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-28 19:31:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "open-telemetry",
"github_project": "opentelemetry-python-contrib",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"tox": true,
"lcname": "opentelemetry-instrumentation-requests"
}