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.37b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 180d48cc3b2c4542378ff0d6d6a2f09af982ac9c60ec70056f8f36385e84ea47 |
|
MD5 | b14419958e0693e31695b401c7d0d413 |
|
BLAKE2b-256 | 47edafca429cd776caf8fe764fac27f254d9a07bafa345c42b97718572465cd5 |
Close
Hashes for opentelemetry_instrumentation_requests-0.37b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2276032d9f01af744c57d02cb396286338896141e879f9590b21541cd8330cbd |
|
MD5 | 2d6bfff72210495a9a04737b1134ac87 |
|
BLAKE2b-256 | 2a1ac709de9efbc870591f3d18213b624e767127e1c6dc7d3df66a3ffa940147 |