skillfed

Flask-Datadog

Access to dogstatsd in your app.

flask-datadog v0.1.4 133.1K downloads/30d#11,528 on PyPI7
Permissive license BSD Abandoned released

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-datadog

uv

uv add flask-datadog

poetry

poetry add flask-datadog

Installing 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

Environment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonTopic :: Software Development :: Libraries :: Python Modules

Tags

flask datadog integrationdogstatsd flask extensiondatadog metrics flaskflask statsd wrapperapplication monitoring flaskdatadog api flask
abandoneddatadog-integrationlegacy

More Python Modules packages