$npx skillfedfor your agent

django-datadog-logger

Django Datadog Logger integration package.

Worth itPyPI MonitoringReleased Jul 2026265.6K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_datadog_logger-0.9.1-py3-none-any.whl
v0.9.1 · released 2026-07-08 · Python >=3.10 · 3 runtime deps: django, djangorestframework, json-log-formatter

Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It directly solves the problem of integrating Django logging with Datadog and is well-suited for teams already using Datadog for observability. Install it if you need structured logging in Django with Datadog compatibility; skip it if you use a different observability platform or don't need JSON-formatted logs.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; Django 4.2, 5.2, or 6.0.
  • Low friction install with three straightforward runtime dependencies (django, djangorestframework, json-log-formatter).
  • Package is actively maintained with a recent release 37 days ago and no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2026-07-08 (37 days) · last repo commit 2026-07-08 · 25 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 265,603 downloads/mo, #8,322 on PyPI

Verify before relying

pip install django-datadog-logger

# In Django settings.py MIDDLEWARE:
MIDDLEWARE = [
    "django_datadog_logger.middleware.request_id.RequestIdMiddleware",
    # ...
    "django_datadog_logger.middleware.error_log.ErrorLoggingMiddleware",
    "django_datadog_logger.middleware.request_log.RequestLoggingMiddleware",
]

# In LOGGING formatters:
from django_datadog_logger.formatters.datadog import DatadogJSONFormatter
formatter = DatadogJSONFormatter()
  • Whether ddtrace integration requires ddtrace library to be installed separately or if it's optional.
  • Performance impact of request ID tracking and JSON formatting on high-throughput applications.
  • Compatibility with non-Datadog logging backends or whether it's tightly coupled to Datadog.
  • Whether Celery integration works with all Celery versions or has specific version constraints.
Same gist for agents: .md · .json

What it is and what it does

Django Datadog Logger is a middleware and formatter package that bridges Django applications with Datadog's logging infrastructure. It provides three core pieces: request ID middleware for tracking requests across logs, error and request logging middleware to capture HTTP lifecycle events, and a JSON formatter that outputs logs in Datadog-compatible format with automatic trace context injection when ddtrace is configured.

The package is designed to work alongside Django REST Framework and integrates with Celery for task logging. It allows you to configure separate log files for different concerns (application, state, request, session, error) and automatically injects Datadog trace IDs and span IDs into log records when ddtrace patching is enabled. Configuration is done through Django's standard LOGGING dictionary, making it fit naturally into existing Django setups.

Use it for

  • Set up centralized JSON logging in a Django application for ingestion into Datadog monitoring.
  • Track HTTP requests across distributed systems using request ID middleware and trace context.
  • Separate application, error, and request logs into distinct files with structured JSON output.
  • Integrate Celery task logging with Datadog tracing for end-to-end observability.
  • Inject Datadog trace and span IDs into logs automatically when using ddtrace instrumentation.

Worth the install?

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

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It directly solves the problem of integrating Django logging with Datadog and is well-suited for teams already using Datadog for observability. Install it if you need structured logging in Django with Datadog compatibility; skip it if you use a different observability platform or don't need JSON-formatted logs.

Install

django-datadog-logger on PyPI

Before you install

Low friction install with three straightforward runtime dependencies (django, djangorestframework, json-log-formatter). Package is actively maintained with a recent release 37 days ago and no known vulnerabilities.

Requires Python 3.10 or later; Django 4.2, 5.2, or 6.0.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install django-datadog-logger

# In Django settings.py MIDDLEWARE:
MIDDLEWARE = [
    "django_datadog_logger.middleware.request_id.RequestIdMiddleware",
    # ...
    "django_datadog_logger.middleware.error_log.ErrorLoggingMiddleware",
    "django_datadog_logger.middleware.request_log.RequestLoggingMiddleware",
]

# In LOGGING formatters:
from django_datadog_logger.formatters.datadog import DatadogJSONFormatter
formatter = DatadogJSONFormatter()

Verify before relying

  • Whether ddtrace integration requires ddtrace library to be installed separately or if it's optional.
  • Performance impact of request ID tracking and JSON formatting on high-throughput applications.
  • Compatibility with non-Datadog logging backends or whether it's tightly coupled to Datadog.
  • Whether Celery integration works with all Celery versions or has specific version constraints.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
djangodjangorestframeworkjson-log-formatter
MaintenanceActively maintained 37 days since the last release
Last repo commit
First released
Downloads265,603 / month, #8,322 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.2Framework :: Django :: 6.0Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming 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: django_datadog_logger-0.9.1-py3-none-any.whl

Tags

Capabilities
django datadog logging integrationrequest id tracking middlewarejson log formatter datadogdjango error logging middlewaredatadog trace context injectiondjango celery loggingstructured logging django
Topics
django-middlewareobservabilitystructured-logging
PyPI keywords
django_datadog_logger

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 datadog logging integration”

  • django-datadog-loggerIntegrates Django applications with Datadog logging by providing…
  • django-structlogIntegrates structured logging into Django applications using…
  • datadog-loggerSends Python log messages to Datadog as Events in the Events Explorer…

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 ddtrace · django-log-formatter-asim · datadog-logger · django-request-id · safe-init · django-structlog · JSON-log-formatter · django-log-request-id · jsonformatter · json-logging