skillfed

uptrace

OpenTelemetry Python distribution for Uptrace

uptrace v1.41.0 150.5K downloads/30d#10,963 on PyPI28
Permissive license BSD-3-Clause Active released

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 uptrace

uv

uv add uptrace

poetry

poetry add uptrace

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.9Typing :: Typed

Tags

opentelemetry uptrace exporterdistributed tracing pythonmetrics and logs exportapplication observabilityuptrace instrumentationopentelemetry wrappertrace collection python
observabilityopentelemetrydistributed-tracing

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

opentelemetry-instrumentation-logging

Integrates Python's standard logging module…

permissive · top 1,000 on PyPI

coralogix-opentelemetry

Provides OpenTelemetry extensions for Python…

unclear · top 15,000 on PyPI

splunk-opentelemetry

Automatically instruments Python applications…

permissive · top 15,000 on PyPI

opentelemetry-instrumentation-celery

Adds distributed tracing and observability to…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-structlog

Integrates structlog logging with OpenTelemetry…

permissive · top 15,000 on PyPI

opentelemetry-instrumentation-django

Adds distributed tracing to Django applications…

permissive · top 1,000 on PyPI

opentelemetry-exporter-prometheus-remote-write

Exports metrics from OpenTelemetry Python SDK…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-requests

Automatically captures and traces HTTP requests…

permissive · top 1,000 on PyPI