Pre-release
This release is a pre-release and may not be stable for production use.
OpenTelemetry Instrumentation for Gunicorn
Automatic OpenTelemetry tracing and metrics for Gunicorn WSGI servers.
- Documentation: https://agent-hellboy.github.io/opentelemetry-instrumentation-gunicorn/
- Quickstart: Quickstart Guide
- Installation: Installation Guide
- Configuration: Configuration Guide
Install
pip install opentelemetry-instrumentation-gunicorn opentelemetry-api opentelemetry-sdk
Minimal Usage (Flask)
from flask import Flask
from opentelemetry import trace
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import BatchSpanProcessor, ConsoleSpanExporter
from opentelemetry.instrumentation.gunicorn import GunicornInstrumentor
trace.set_tracer_provider(TracerProvider())
trace.get_tracer_provider().add_span_processor(BatchSpanProcessor(ConsoleSpanExporter()))
app = Flask(__name__)
GunicornInstrumentor().instrument()
For full examples and guidance, see the docs.
Metadata
Release files for opentelemetry-instrumentation-gunicorn 0.1.0b1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| opentelemetry_instrumentation_gunicorn-0.1.0b1.tar.gz | 13.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opentelemetry_instrumentation_gunicorn-0.1.0b1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.7 kB
Release files / opentelemetry_instrumentation_gunicorn-0.1.0b1.tar.gz
| Download URL | opentelemetry_instrumentation_gunicorn-0.1.0b1.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbc3b573a5e7efc144b6582b9cd3215f4592a490722f494b23f02ef59c04fa2c
|
|
BLAKE2b-256 checksum How to use checksums |
cddbe09c86a71813879ab59e54c79f02999c0350607a9bac375153e8ecb4a92f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.23
|
Release files / opentelemetry_instrumentation_gunicorn-0.1.0b1-py3-none-any.whl
| Download URL | opentelemetry_instrumentation_gunicorn-0.1.0b1-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
beb661c7ceb3b44d799ef1915efbb54a16f1c249fe2d7065dc13a4489ad87c46
|
|
BLAKE2b-256 checksum How to use checksums |
da39cf2d913e14a63cc17252b1cbae56d0da0bbd01d5f2804f982be5ceaa9a14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.23
|