$npx skillfedfor your agent

opentelemetry-instrumentation-django

OpenTelemetry Instrumentation for Django

With conditionsPyPI MonitoringReleased Jul 202648.4M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — opentelemetry_instrumentation_django-0.65b0-py3-none-any.whl
v0.65b0 · released 2026-07-16 · Python >=3.10 · 5 runtime deps: opentelemetry-api, opentelemetry-instrumentation-wsgi, opentelemetry-instrumentation, opentelemetry-semantic-conventions, opentelemetry-util-http

Yes, with conditions. The package is actively maintained, has low install friction, and solves a real observability need for Django applications. However, it is in beta status (0.65b0), so production use should be evaluated carefully and tested thoroughly. No known vulnerabilities. Apache-2.0 license is permissive.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Assumes an OpenTelemetry SDK and exporter are already configured in your application.
  • Low friction install with a pure-Python wheel and active maintenance.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions.

last release 2026-07-16 (29 days) · last repo commit 2026-08-13 · 1,086 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 48,381,180 downloads/mo, #592 on PyPI

Verify before relying

pip install opentelemetry-instrumentation-django

from opentelemetry.instrumentation.django import DjangoInstrumentor
DjangoInstrumentor().instrument()
  • Whether this version (0.65b0) is production-ready or if a stable release is recommended for production deployments.
  • Specific Django version compatibility range beyond what classifiers indicate.
  • Performance overhead of instrumentation on typical Django request throughput.
Same gist for agents: .md · .json

What it is and what it does

This package integrates OpenTelemetry tracing into Django applications by automatically instrumenting HTTP request handling. It captures request metadata, timing, and errors, then exports that trace data to your configured OpenTelemetry backend. The instrumentation works at the WSGI layer through opentelemetry-instrumentation-wsgi, meaning it captures all incoming requests without requiring changes to individual Django views or middleware.

It's part of the OpenTelemetry Python ecosystem and depends on opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, and opentelemetry-util-http. The package is actively maintained and supports modern Python versions (3.10 through 3.14), though it remains in beta status. Use it when you need visibility into Django request flows, especially in microservice architectures where trace context must propagate across service boundaries.

Use it for

  • Instrument a Django monolith to export request traces to Jaeger or Datadog for performance debugging.
  • Propagate trace IDs across Django and downstream services to track request flows in a microservice architecture.
  • Monitor Django endpoint latency and error rates by exporting traces to an OpenTelemetry collector.
  • Correlate Django application logs with distributed traces for end-to-end request visibility.
  • Measure and profile specific Django request handlers by examining generated span data.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

The package is actively maintained, has low install friction, and solves a real observability need for Django applications. However, it is in beta status (0.65b0), so production use should be evaluated carefully and tested thoroughly. No known vulnerabilities. Apache-2.0 license is permissive.

Install

opentelemetry-instrumentation-django on PyPI

Before you install

Low friction install with a pure-Python wheel and active maintenance. Released 29 days ago with recent commits, though the package is in beta status (0.65b0).

Requires Python 3.10 or later. Assumes an OpenTelemetry SDK and exporter are already configured in your application.

License in practice

Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions.

Quickstart

pip install opentelemetry-instrumentation-django

from opentelemetry.instrumentation.django import DjangoInstrumentor
DjangoInstrumentor().instrument()

Verify before relying

  • Whether this version (0.65b0) is production-ready or if a stable release is recommended for production deployments.
  • Specific Django version compatibility range beyond what classifiers indicate.
  • Performance overhead of instrumentation on typical Django request throughput.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
opentelemetry-apiopentelemetry-instrumentation-wsgiopentelemetry-instrumentationopentelemetry-semantic-conventionsopentelemetry-util-http
MaintenanceActively maintained 29 days since the last release
Last repo commit
First released
Downloads48,381,180 / month, #592 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
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

Evidence: opentelemetry_instrumentation_django-0.65b0-py3-none-any.whl

Tags

Capabilities
django tracing instrumentationopentelemetry djangodistributed tracing djangodjango request tracingdjango observabilitydjango span instrumentationdjango telemetry
Topics
observabilitydistributed-tracingdjango-middleware

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “django tracing instrumentation”

Give your agent the search over MCP, or paste the wish link into any chat.

More Monitoring packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
opentelemetry-semantic-conventions Worth it
PyPI · Monitoring · released Jul 2026

Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.

Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.

Apache-2.0pure Python · 3.10+
542.9Mdownloads / mo
opentelemetry-sdk Worth it
PyPI · Monitoring · released Jul 2026

Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.

Apache-2.0pure Python · 3.10+
521.8Mdownloads / mo
opentelemetry-api With conditions
PyPI · Monitoring · released Jul 2026

Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.

Apache-2.0pure Python · 3.10+
463.8Mdownloads / mo
opentelemetry-exporter-otlp-proto-http Worth it
PyPI · Monitoring · released Jul 2026

Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.

Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.

Apache-2.0pure Python · 3.10+
409.9Mdownloads / mo
opentelemetry-instrumentation Worth it
PyPI · Monitoring · released Jul 2026

Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.

Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.

Apache-2.0pure Python · 3.10+
393.5Mdownloads / mo

See also opentelemetry-instrumentation-flask · opentelemetry-instrumentation-sklearn · opentelemetry-instrumentation-threading · openfeature-hooks-opentelemetry · otel-extensions · opentelemetry-propagator-ot-trace · opentelemetry-instrumentation-wsgi · opentelemetry-instrumentation-asyncio · opentelemetry-instrumentation-falcon · opentelemetry-instrumentation-redis