Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cyberdelia/flask-statsd
- Owner: cyberdelia
- License: mit
- Created: 2012-10-07T19:36:32.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2020-09-30T13:42:12.000Z (about 4 years ago)
- Last Synced: 2024-08-10T23:25:03.682Z (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)