OpenTelemetry FastAPI Instrumentation
Auto-instrumentation for FastAPI applications to collect traces and metrics for observability and monitoring.
Used in agent projects
22
0.2% of 12,697 public repos built with AI coding agents
Rank in logging, monitoring and analytics
#28 of 29
by use in those projects
Downloads
17.9M
PyPI, last 7 days, opentelemetry-instrumentation-fastapi
GitHub stars
1,109
last push Oct 9, 2026
How OpenTelemetry FastAPI Instrumentation is used
OpenTelemetry FastAPI Instrumentation is a dependency in 22 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #28 of 29 in logging, monitoring and analytics. The most used alternative there is Vercel Analytics. Projects that use it most often also use OpenTelemetry SDK (95.5%), FastAPI (90.9%), OpenTelemetry API (90.9%).
Often used with OpenTelemetry FastAPI Instrumentation
| OpenTelemetry SDK | 95.5% of OpenTelemetry FastAPI Instrumentation projects · 195.5× more than average |
|---|---|
| FastAPI | 90.9% of OpenTelemetry FastAPI Instrumentation projects · 21.5× more than average |
| OpenTelemetry API | 90.9% of OpenTelemetry FastAPI Instrumentation projects · 186.2× more than average |
| Pydantic | 90.9% of OpenTelemetry FastAPI Instrumentation projects · 17.8× more than average |
| Uvicorn | 86.4% of OpenTelemetry FastAPI Instrumentation projects · 20.2× more than average |
| Pydantic Settings | 77.3% of OpenTelemetry FastAPI Instrumentation projects · 39.1× more than average |
| redis (Python) | 68.2% of OpenTelemetry FastAPI Instrumentation projects · 61.0× more than average |
| SQLAlchemy | 68.2% of OpenTelemetry FastAPI Instrumentation projects · 34.6× more than average |
By coding agent
| GitHub Copilot | 0.4% of projects set up for it |
|---|---|
| Claude Code | 0.3% of projects set up for it |
| Cursor | 0.2% of projects set up for it |
Share of public repos configured for each agent that list OpenTelemetry FastAPI Instrumentation as a dependency.
Install
| Package | pip install opentelemetry-instrumentation-fastapi |
|---|---|
| Main stacks | Python (21), Next.js (1) |
| Example projects | kr8tiv-ai/Jarvis, RoboFinSystems/robosystems, ManojINaik/manimAnimationAgent |
Alternatives to OpenTelemetry FastAPI Instrumentation
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Vercel Analytics npm Real-time web analytics SDK for tracking traffic and user behavior. |
422 (3.3%) | 8.3M | 517 | MIT |
| pino-pretty npm Pretty-printer for Pino JSON logs to make terminal output human-readable. |
223 (1.8%) | 24.6M | 1,706 | MIT |
| Web Vitals npm Measure Core Web Vitals and other key performance metrics in JavaScript. |
222 (1.7%) | 48.7M | 8,640 | Apache-2.0 |
| Vercel Speed Insights npm Measure web performance metrics and get recommendations for improvement. |
167 (1.3%) | 5.6M | 116 | Apache-2.0 |
| psutil pypi Cross-platform library for retrieving process and system monitoring information. |
144 (1.1%) | 74.7M | 11.3K | BSD-3-Clause |
| Pino npm Ultra-fast JSON logger for Node.js with minimal overhead. |
129 (1.0%) | 53.3M | 18.2K | MIT |
| Sentry for Next.js npm Official Sentry SDK for error tracking and performance monitoring in Next.js apps. |
119 (0.9%) | 11.7M | 8,756 | MIT |
| Loguru pypi Simplified Python logging library with intuitive API and structured logging. |
108 (0.9%) | 16.4M | 24.1K | — |