Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Access to dogstatsd in your app.

Project description

This is a simple Flask extension that allows to access DogStatsd in your Flask application. It has an API compatible with Flask-StatsD

Installation

To install it, simply:

pip install Flask-Datadog

Usage

You only need to import and initialize your app

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Flask-Datadog, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size Flask-Datadog-0.1.4.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page