opentelemetry-instrumentation-tornado 0.19b0
pip install opentelemetry-instrumentation-tornado==0.19b0
Released:
Tornado instrumentation for OpenTelemetry
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache-2.0)
- Author: OpenTelemetry Authors
- Requires: Python >=3.6
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
Project description
This library builds on the OpenTelemetry WSGI middleware to track web requests in Tornado applications.
Installation
pip install opentelemetry-instrumentation-tornado
Configuration
The following environment variables are supported as configuration options:
OTEL_PYTHON_TORNADO_EXCLUDED_URLS
A comma separated list of paths that should not be automatically traced. For example, if this is set to
export OTEL_PYTHON_TORNADO_EXLUDED_URLS='/healthz,/ping'
Then any requests made to /healthz and /ping will not be automatically traced.
Request attributes
To extract certain attributes from Tornado’s request object and use them as span attributes, set the environment variable OTEL_PYTHON_TORNADO_TRACED_REQUEST_ATTRS to a comma delimited list of request attribute names.
For example,
export OTEL_PYTHON_TORNADO_TRACED_REQUEST_ATTRS='uri,query'
will extract path_info and content_type attributes from every traced request and add them as span attributes.
References
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache-2.0)
- Author: OpenTelemetry Authors
- Requires: Python >=3.6
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
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
Uploaded
Python 3
File details
Details for the file opentelemetry-instrumentation-tornado-0.19b0.tar.gz
.
File metadata
- Download URL: opentelemetry-instrumentation-tornado-0.19b0.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | faed7406161d7b1ce8a717a8755dc1e067ab9b0bb4a045fcb6099c4c763bdfbb |
|
MD5 | e96f6282850cc9a183756bcaae490859 |
|
BLAKE2b-256 | e9972ef4a89fabdc1f2c2f7ff23a2a98216959d572d147a4aeea3e600fe2edc8 |
File details
Details for the file opentelemetry_instrumentation_tornado-0.19b0-py3-none-any.whl
.
File metadata
- Download URL: opentelemetry_instrumentation_tornado-0.19b0-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28e38422e40a33fdf08c78391e375387cfd34888d7e6a559de35efc7cb89865c |
|
MD5 | 55b1c9dc83c30978318fb07d555fd832 |
|
BLAKE2b-256 | b327a4c184997773d440e7848c3aaa2fec2f54e4ced95b19141fc88bb5dd16d2 |