Flask-Datadog
Access to dogstatsd in your app.
What it is and what it does
Flask-Datadog is a Flask extension that bridges your Flask application to Datadog's monitoring and metrics services. It exposes two main interfaces: StatsD for sending metrics via DogStatsd, and API for direct calls to Datadog's REST API. You configure it by setting Flask config variables for your Datadog credentials and the StatsD host, then instantiate the extension objects in your app.
The package has been unmaintained since early 2017 and has received no updates in over six years. It was designed to be API-compatible with Flask-StatsD but has no runtime dependencies listed, suggesting it relies on external libraries or system-level Datadog agents. Given the age and lack of maintenance, compatibility with current Datadog services and modern Python/Flask versions is uncertain.
Use it for:
- Send application metrics to Datadog from a Flask app for performance monitoring and alerting.
- Track custom business events and application health metrics alongside infrastructure monitoring.
- Query Datadog dashboards and alerts programmatically from Flask application code.
- Integrate legacy Flask applications with Datadog monitoring without rewriting metric collection.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Flask-Datadog provides a Flask extension to access DogStatsd metrics and the Datadog API from within a Flask application, with an API compatible with Flask-StatsD.
No. The package is abandoned (last update 2017, no commits since 2020) and high install friction makes it unreliable for production use. Datadog's own client libraries and modern Flask integrations are actively maintained and recommended instead. Use only if you have a legacy codebase already depending on it and cannot migrate.
Install
flask-datadog on PyPI
pip
pip install flask-datadoguv
uv add flask-datadogpoetry
poetry add flask-datadogInstalling Flask-Datadog
Before you install
Installation friction is high; the package has been abandoned since 2017 with no commits after 2020-03-23, and depends on external Datadog services that may have evolved incompatibly since the last release.
License in practice
BSD license is permissive and poses no restriction on use or redistribution, though the abandoned status means no ongoing legal maintenance.
Quickstart
pip install Flask-Datadog
from flask import Flask
from flask.ext.datadog import API, StatsD
app = Flask(__name__)
app.config['STATSD_HOST'] = 'localhost'
app.config['DATADOG_API_KEY'] = 'api_key'
app.config['DATADOG_APP_KEY'] = 'app_key'
statsd = StatsD(app)
dogapi = API(app)
Requires Datadog agent running on STATSD_HOST and valid Datadog API credentials; package has not been updated since 2017 and may not work with current Datadog APIs.
Verify before relying
- Whether the package works with current Datadog API versions and modern Flask releases.
- What Python versions are actually supported (requires_python is unspecified in metadata).
- Whether DogStatsd client is an implicit dependency or must be installed separately.
Package facts
| License | BSD (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | abandoned — 3,497 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 133,100/month — #11,528 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: Flask-Datadog-0.1.4.tar.gz
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
datadogProvides a Python client library to send…
permissive · top 1,000 on PyPI
aiodogstatsdAn asyncio-based client for sending metrics to…
permissive · top 15,000 on PyPI
pulumi-datadogPulumi provider for declaring and managing…
permissive · top 5,000 on PyPI
datadog-loggerSends Python log messages to Datadog as Events…
permissive · top 15,000 on PyPI
datadog-api-clientPython client library for the Datadog API,…
permissive · top 1,000 on PyPI
statsd-tagsA Python client for sending metrics to…
permissive · top 15,000 on PyPI
Flask-MailFlask-Mail adds email-sending functionality to…
permissive · top 5,000 on PyPI
datadog-cdk-constructs-v2Provides AWS CDK constructs to automatically…
permissive · top 15,000 on PyPI
statsd-pythonA Python client library for sending metrics to…
permissive · top 15,000 on PyPI
Flask-DebugToolbarFlask-DebugToolbar injects a debugging sidebar…
permissive · top 5,000 on PyPI