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.30b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8275012e2931d524fbcca17654b28ebae5add493e6e382b56582b8ce02ee5905 |
|
MD5 | 548724d62e18a19ffc7842d9850f122d |
|
BLAKE2b-256 | e4386abe3550d0b27f62deb78734562b9fe33ac8901b1931703ccabdd6a54a33 |
Close
Hashes for opentelemetry_instrumentation_requests-0.30b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09cbc0886584ff0a2c0ef18d002a66ed69d492fcdbdc01b0d4af6bacd26c26d7 |
|
MD5 | 5706060d0777887f9b6d7e8e6a60e9bd |
|
BLAKE2b-256 | bb405a9f57e1e63f26b88e7be9069fe7910efdb2ec13c511b676ab3fc55df714 |