https://github.com/cyberdelia/flask-statsd
Access statsd from you app
https://github.com/cyberdelia/flask-statsd
Last synced: 3 months ago
JSON representation
Access statsd from you app
- Host: GitHub
- URL: https://github.com/cyberdelia/flask-statsd
- Owner: cyberdelia
- License: mit
- Created: 2012-10-07T19:36:32.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2020-09-30T13:42:12.000Z (almost 5 years ago)
- Last Synced: 2025-03-27T04:41:43.854Z (3 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 10
- Watchers: 1
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
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 StatsDapp = Flask(__name__)
app.config['STATSD_HOST'] = 'statsd.local'
statsd = StatsD(app)