datadog
The Datadog Python library
Decision gist · record as of 2026-08-14
Yes. The library is actively maintained, has low install friction, carries a permissive license, and no known vulnerabilities. It is the standard Python client for Datadog's core API and DogStatsD protocol. Install it if you are already using Datadog and need to send metrics or events from Python; if you need comprehensive API coverage for all Datadog endpoints, consult the documentation on whether datadog-api-client-python is also required.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires valid Datadog API and app keys; for DogStatsD metrics, the Datadog Agent must be running and accessible at the configured host/port or socket path.
- Low friction install with minimal dependencies (configparser, requests, typing).
- Actively maintained with recent releases; last commit 2026-08-11 and 669 repository stars indicate ongoing support.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause permissive license allows use in most projects without significant restrictions; suitable for both open-source and proprietary applications.
last release 2026-07-24 (21 days) · last repo commit 2026-08-11 · 669 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 70,796,714 downloads/mo, #468 on PyPI
Alternatives
Verify before relying
pip install datadog
from datadog import initialize, api
options = {
"api_key": "<YOUR_API_KEY>",
"app_key": "<YOUR_APP_KEY>",
}
initialize(**options)
api.Event.create(title="Event", text="Description", tags=["tag:value"])- Whether the library supports all current Datadog API endpoints or if datadog-api-client-python is required for full coverage
- Performance characteristics and throughput limits under production load
- Compatibility with Datadog Agent versions and any version-specific requirements
What it is and what it does
The Datadog Python library is a client abstraction over Datadog's HTTP API and DogStatsD metrics aggregation server. It simplifies sending custom metrics, events, and service checks from Python applications to Datadog for monitoring and observability. The library supports multiple transport methods—UDP and Unix domain sockets for DogStatsD—and can be configured via function parameters or environment variables (DATADOG_API_KEY, DATADOG_APP_KEY, DD_DOGSTATSD_URL, etc.).
Typical use cases include instrumenting applications to report application-level metrics, recording significant events in your system, and submitting service health checks. The library handles the low-level protocol details, allowing developers to focus on what to measure rather than how to format and transmit the data. It has been maintained since 2015 and supports Python 2.7 and 3.7 through 3.9.
Use it for
- Send custom application metrics (counters, gauges, histograms, timers) to Datadog dashboards for real-time monitoring
- Record application events (deployments, errors, state changes) to Datadog's Event Stream for correlation with metrics
- Submit service health checks from background jobs or health-check endpoints to track system availability
- Instrument microservices to report request latency, error rates, and business metrics without building custom telemetry infrastructure
- Aggregate metrics from multiple application instances via DogStatsD for centralized observability
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The library is actively maintained, has low install friction, carries a permissive license, and no known vulnerabilities. It is the standard Python client for Datadog's core API and DogStatsD protocol. Install it if you are already using Datadog and need to send metrics or events from Python; if you need comprehensive API coverage for all Datadog endpoints, consult the documentation on whether datadog-api-client-python is also required.
Install
datadog on PyPI
Before you install
Low friction install with minimal dependencies (configparser, requests, typing). Actively maintained with recent releases; last commit 2026-08-11 and 669 repository stars indicate ongoing support.
Requires valid Datadog API and app keys; for DogStatsD metrics, the Datadog Agent must be running and accessible at the configured host/port or socket path.
License in practice
BSD-3-Clause permissive license allows use in most projects without significant restrictions; suitable for both open-source and proprietary applications.
Quickstart
pip install datadog
from datadog import initialize, api
options = {
"api_key": "<YOUR_API_KEY>",
"app_key": "<YOUR_APP_KEY>",
}
initialize(**options)
api.Event.create(title="Event", text="Description", tags=["tag:value"])
Verify before relying
- Whether the library supports all current Datadog API endpoints or if datadog-api-client-python is required for full coverage
- Performance characteristics and throughput limits under production load
- Compatibility with Datadog Agent versions and any version-specific requirements
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesconfigparserrequeststyping |
| Maintenance | Actively maintained 21 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 70,796,714 / month, #468 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: datadog-0.53.0-py2.py3-none-any.whl
Tags
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 metrics client”
- datadogProvides a Python client library to send metrics, events, and service…
- datadog-api-clientPython client library for the Datadog API, providing programmatic…
- apache-airflow-providers-datadogIntegrates Apache Airflow with Datadog for monitoring, alerting, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
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.
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.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
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.
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.
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.
See also aiodogstatsd · datadog-api-client · datadog-logger · ddtrace · Flask-Datadog · statsd-python · datadog-checks-base · statshog · python-statsd · doipclient