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.
Source Distribution
Flask-Datadog-0.1.4.tar.gz
(4.3 kB
view details)
File details
Details for the file Flask-Datadog-0.1.4.tar.gz
.
File metadata
- Download URL: Flask-Datadog-0.1.4.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7edc0ba8de775480844863b21188d4fd70179f09ffe21b5e4dc8e71dcb680f13 |
|
MD5 | 2a81d473ea3f474b0c4315755f39d033 |
|
BLAKE2b-256 | 8a129205acc6fcf6c69a48834456b15c61f6d65617483e2a2a36d6a351a6b4f7 |