skillfed

opentelemetry-instrumentation-falcon

Falcon instrumentation for OpenTelemetry

opentelemetry-instrumentation-falcon v0.65b0 3.8M downloads/30d#2,485 on PyPI1,086
Permissive license Apache-2.0 Active released

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-falcon

uv

uv add opentelemetry-instrumentation-falcon

poetry

poetry add opentelemetry-instrumentation-falcon

Installing 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

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

falcon web tracingopentelemetry falcon instrumentationdistributed tracing falcon appsfalcon request span trackingopentelemetry wsgi middleware falconfalcon http request monitoring
observabilitydistributed-tracingfalcon-framework

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

falcon

Falcon is a minimalist ASGI/WSGI framework for…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-flask

Adds distributed tracing to Flask web…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation-urllib

Captures and traces HTTP requests made by…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation-httpx

Adds distributed tracing to HTTP requests made…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation-requests

Automatically captures and traces HTTP requests…

permissive · top 1,000 on PyPI

crowdstrike-falconpy

FalconPy is the official CrowdStrike Falcon SDK…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-django

Adds distributed tracing to Django applications…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation-tornado

Adds OpenTelemetry tracing instrumentation to…

permissive · top 5,000 on PyPI

instana

Instana is a Python instrumentation package…

permissive · top 15,000 on PyPI

opentelemetry-instrumentation-urllib3

Automatically captures and traces HTTP requests…

permissive · top 1,000 on PyPI