Access statsd from you app
Python
Latest commit aec0570 Dec 24, 2012 @cyberdelia bump version
Permalink
Failed to load latest commit information.
.gitignore update gitignore Oct 9, 2012
README.rst add a README Oct 9, 2012
flask_statsd.py fix app initialization. close #1 Dec 24, 2012
setup.py bump version Dec 24, 2012

README.rst

Flask-StatsD

This is a simple Flask extension that allows to access statsd in your Flask application.

Installation

To install it, simply:

pip install Flask-StatsD

Usage

You only need to import and initialize your app

from flask import Flask
from flask.ext.statsd import StatsD

app = Flask(__name__)
app.config['STATSD_HOST'] = 'statsd.local'
statsd = StatsD(app)