Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cyberdelia/flask-statsd

Access statsd from you app
https://github.com/cyberdelia/flask-statsd

Last synced: 5 days ago
JSON representation

Access statsd from you app

Awesome Lists containing this project

README

        

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)