$npx skillfedfor your agent

datadog-logger

Python logging handler for DataDog events

With conditionsPyPI MonitoringReleased Jul 2026449.4K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — datadog_logger-1.0.3-py3-none-any.whl
v1.0.3 · released 2026-07-27 · Python >=3.10 · 1 runtime deps: datadog

Yes, if you use Datadog and want to surface application errors as events in the Events Explorer with minimal setup. The single dependency, permissive license, and active maintenance make it a low-friction choice. Not suitable if you need Datadog's Log Management product or log aggregation beyond event creation.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Datadog API credentials (api_key and app_key) and Python 3.10 or later.
  • Low install friction with a single runtime dependency on datadog.
  • Package is actively maintained with a recent release.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions.

last release 2026-07-27 (18 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 449,443 downloads/mo, #6,595 on PyPI

Verify before relying

pip install datadog-logger

import datadog
from datadog_logger import log_error_events
import logging

datadog.initialize(api_key="api-key", app_key="app-key")
logging.basicConfig()
log_error_events(tags=["tag1:value"], mentions=["@devs"])
logging.error("Oh no!")
  • Whether the package works with Datadog's newer Log Management product or only with the Events Explorer as documented.
  • Performance characteristics when logging high volumes of events to Datadog.
Same gist for agents: .md · .json

What it is and what it does

Datadog Logger is a Python logging handler that bridges the standard logging module to Datadog's Events Explorer. Instead of sending logs to Datadog's Log Management product (which requires separate configuration), this handler converts log records into Datadog events, allowing you to surface ERROR and higher-level messages as discrete events that can be tagged, mentioned, and alerted on.

You configure it by either calling the convenience function `log_error_events()` on the root logger or manually instantiating `DatadogLogHandler` and adding it to specific loggers. The handler converts the log message into an event title, includes the full formatted record (and stack trace if present) as event text, and appends any mentions you specify. It requires only the datadog package as a dependency and supports Python 3.10 and later.

Use it for

  • Alert on application errors by sending ERROR and CRITICAL logs as Datadog events tagged for your team.
  • Route specific logger output to Datadog events while keeping other logs local or in a separate system.
  • Notify Slack or other integrations via Datadog mentions when critical log events occur.
  • Track exceptions with full stack traces as discrete events in Datadog's Events Explorer.
  • Add custom tags to log-based events for filtering and correlation in Datadog dashboards.

Worth the install?

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

With conditions

Yes, if you use Datadog and want to surface application errors as events in the Events Explorer with minimal setup.

The single dependency, permissive license, and active maintenance make it a low-friction choice. Not suitable if you need Datadog's Log Management product or log aggregation beyond event creation.

Install

datadog-logger on PyPI

Before you install

Low install friction with a single runtime dependency on datadog. Package is actively maintained with a recent release.

Requires Datadog API credentials (api_key and app_key) and Python 3.10 or later.

License in practice

MIT license permits commercial and private use with minimal restrictions.

Quickstart

pip install datadog-logger

import datadog
from datadog_logger import log_error_events
import logging

datadog.initialize(api_key="api-key", app_key="app-key")
logging.basicConfig()
log_error_events(tags=["tag1:value"], mentions=["@devs"])
logging.error("Oh no!")

Verify before relying

  • Whether the package works with Datadog's newer Log Management product or only with the Events Explorer as documented.
  • Performance characteristics when logging high volumes of events to Datadog.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
datadog
MaintenanceActively maintained 18 days since the last release
First released
Downloads449,443 / month, #6,595 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: datadog_logger-1.0.3-py3-none-any.whl

Tags

Capabilities
datadog event loggingpython logging handler datadogsend logs to datadog eventsdatadog event alertspython datadog integration loggingdatadog error event handlerlogging to datadog events explorer
Topics
loggingdatadog-integrationevent-alerting

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 › “datadog event logging”

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 datadog · mdc · fluent-logger · django-datadog-logger · seqlog · Flask-Datadog · multiprocessing-logging · cloudwatch · python-logging-loki · safe-init