OpenTelemetry requests instrumentation
Project description
This library allows tracing HTTP requests made by the requests 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for opentelemetry_instrumentation_requests-0.48b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67ab9bd877a0352ee0db4616c8b4ae59736ddd700c598ed907482d44f4c9a2b3 |
|
MD5 | 4f3c6648cd403f849a677fe9d96d607d |
|
BLAKE2b-256 | 52ac5eb78efde21ff21d0ad5dc8c6cc6a0f8ae482ce8a46293c2f45a628b6166 |
Close
Hashes for opentelemetry_instrumentation_requests-0.48b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4f01852121d0bd4c22f14f429654a735611d4f7bf3cf93f244bdf1489b2233d |
|
MD5 | 122aba91e3c8358e5893aa4b11a36571 |
|
BLAKE2b-256 | 43df0df9226d1b14f29d23c07e6194b9fd5ad50e7d987b7fd13df7dcf718aeb1 |