opentelemetry-instrumentation-falcon
Falcon instrumentation for OpenTelemetry
What it is and what it does
This package integrates OpenTelemetry tracing into Falcon web applications by wrapping the WSGI middleware layer. It automatically creates and manages spans for incoming HTTP requests, capturing request and response metadata. You install it alongside your Falcon app, call FalconInstrumentor().instrument() at startup, and it begins recording traces that can be exported to any OpenTelemetry-compatible backend (Jaeger, Datadog, etc.).
The instrumentation supports filtering URLs from tracing via regex patterns and extracting custom request attributes as span tags. It also provides request and response hooks for adding application-specific logic to spans. The package depends on the core OpenTelemetry API and instrumentation framework, plus WSGI middleware support and semantic conventions for standardized span naming.
Use it for:
- Trace HTTP request latency and dependencies in Falcon microservices for performance debugging.
- Exclude health-check or internal endpoints from tracing to reduce noise in observability systems.
- Extract custom request attributes (query strings, URI templates) and attach them as span metadata.
- Correlate Falcon request traces with downstream service calls using trace context propagation.
- Monitor Falcon application behavior in production by exporting traces to a centralized collector.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Adds distributed tracing to Falcon web applications by instrumenting HTTP requests and responses with OpenTelemetry spans.
Yes, if you are running Falcon and need distributed tracing. The package is actively maintained, has low install friction, and integrates cleanly with the OpenTelemetry ecosystem. The beta status warrants checking release notes before upgrading in production, but it is widely used (top 5000 PyPI packages) and carries no known vulnerabilities. Install it when you have a tracing backend ready to receive spans.
Install
opentelemetry-instrumentation-falcon on PyPI
pip
pip install opentelemetry-instrumentation-falconuv
uv add opentelemetry-instrumentation-falconpoetry
poetry add opentelemetry-instrumentation-falconInstalling opentelemetry-instrumentation-falcon
Before you install
Low friction install with six runtime dependencies. The package is actively maintained with recent releases and a stable upstream repository, though it carries a beta status (0.65b0) that may indicate ongoing API refinement.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions beyond attribution and license inclusion.
Quickstart
pip install opentelemetry-instrumentation-falcon
from opentelemetry.instrumentation.falcon import FalconInstrumentor
import falcon
FalconInstrumentor().instrument()
app = falcon.App()
Requires Python 3.10 or later; requires a configured OpenTelemetry exporter and collector to actually export traces.
Verify before relying
- Whether the beta version (0.65b0) indicates planned breaking changes or API instability.
- Performance overhead of instrumentation on high-throughput Falcon applications.
- Compatibility with Falcon versions beyond what the instrumentation was tested against.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — opentelemetry-api, opentelemetry-instrumentation-wsgi, opentelemetry-instrumentation, opentelemetry-semantic-conventions, opentelemetry-util-http, packaging |
| Maintenance | actively maintained — 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,837,026/month — #2,485 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: opentelemetry_instrumentation_falcon-0.65b0-py3-none-any.whl
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
falconFalcon is a minimalist ASGI/WSGI framework for…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-flaskAdds distributed tracing to Flask web…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-urllibCaptures and traces HTTP requests made by…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-httpxAdds distributed tracing to HTTP requests made…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-requestsAutomatically captures and traces HTTP requests…
permissive · top 1,000 on PyPI
crowdstrike-falconpyFalconPy is the official CrowdStrike Falcon SDK…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-djangoAdds distributed tracing to Django applications…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-tornadoAdds OpenTelemetry tracing instrumentation to…
permissive · top 5,000 on PyPI
instanaInstana is a Python instrumentation package…
permissive · top 15,000 on PyPI
opentelemetry-instrumentation-urllib3Automatically captures and traces HTTP requests…
permissive · top 1,000 on PyPI