uptrace
OpenTelemetry Python distribution for Uptrace
What it is and what it does
Uptrace is a Python package that simplifies integration with the Uptrace observability platform by wrapping OpenTelemetry. It handles the export of distributed traces, metrics, and logs from your Python application to Uptrace's backend, eliminating the need to manually configure OpenTelemetry exporters. The package depends on four core OpenTelemetry libraries: opentelemetry-api, opentelemetry-sdk, opentelemetry-instrumentation, and opentelemetry-exporter-otlp.
You use it by installing the package, configuring it with your Uptrace DSN, and then instrumenting your application code or frameworks. The wrapper abstracts away OpenTelemetry configuration details, making it faster to get observability running. It includes guides for popular frameworks like Django, Flask, FastAPI, and SQLAlchemy, so you can instrument web applications and database calls with minimal setup.
Use it for:
- Instrument a Django or Flask web application to collect distributed traces and send them to Uptrace for performance analysis.
- Export application metrics and logs alongside traces to correlate performance issues with error patterns.
- Monitor database queries in SQLAlchemy-based applications by collecting query spans and latency data.
- Set up observability for a FastAPI microservice without manually configuring each OpenTelemetry component.
- Collect end-to-end traces across multiple services to debug latency and failures in distributed systems.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Uptrace is a thin wrapper over OpenTelemetry that exports traces, metrics, and logs to the Uptrace observability platform.
Yes, if you are already using Uptrace or planning to adopt it for observability. The package reduces boilerplate compared to configuring OpenTelemetry directly, and it has active maintenance, no known vulnerabilities, and permissive licensing. Install it as part of your observability stack setup, not as a standalone tool—it requires an Uptrace account to be useful.
Install
uptrace on PyPI
pip
pip install uptraceuv
uv add uptracepoetry
poetry add uptraceInstalling uptrace
Before you install
Low friction installation with a pure Python wheel. Active maintenance with recent commits and a stable production release status.
License in practice
BSD-3-Clause is permissive; you can use this package in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install uptrace
import uptrace
from opentelemetry import trace
uptrace.configure_opentelemetry(dsn="https://...@api.uptrace.dev/...")
tracer = trace.get_tracer(__name__)
Requires Python 3.9 or later; also requires an Uptrace account and DSN to export data.
Verify before relying
- Whether the package supports automatic instrumentation for specific frameworks beyond Django, Flask, and FastAPI.
- Performance overhead of the wrapper layer compared to direct OpenTelemetry usage.
- Whether metrics and logs export are fully featured or have limitations compared to traces.
Package facts
| License | BSD-3-Clause (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — opentelemetry-api, opentelemetry-exporter-otlp, opentelemetry-instrumentation, opentelemetry-sdk |
| Maintenance | actively maintained — 120 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 150,483/month — #10,963 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: uptrace-1.41.0-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
opentelemetry-instrumentation-loggingIntegrates Python's standard logging module…
permissive · top 1,000 on PyPI
coralogix-opentelemetryProvides OpenTelemetry extensions for Python…
unclear · top 15,000 on PyPI
splunk-opentelemetryAutomatically instruments Python applications…
permissive · top 15,000 on PyPI
opentelemetry-instrumentation-celeryAdds distributed tracing and observability to…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-structlogIntegrates structlog logging with OpenTelemetry…
permissive · top 15,000 on PyPI
opentelemetry-instrumentation-djangoAdds distributed tracing to Django applications…
permissive · top 1,000 on PyPI
opentelemetry-exporter-prometheus-remote-writeExports metrics from OpenTelemetry Python SDK…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-requestsAutomatically captures and traces HTTP requests…
permissive · top 1,000 on PyPI