A flask plugin to keep stats about your application
Project description
This flask extension automatically provides paging timing and http status code statistics to statsd.
It will send page timings to <APP_NAME>.<BLUEPRINT>.<FUNCTION>, and status codes to <APP_NAME>.<BLUEPRINT>.<FUNCTION>.http_XXX, where XXX is the status code, i.e 403.
Installation
Install by installing it from the Python Package Index.
$ pip install Flask-Stats
Configuration
Flask-Stats uses the following configuration values.
STATS_HOSTNAME |
Specifies the host to send statsd values to. Defaults to localhost. |
STATS_PORT |
Specified the port to send statsd values to. Defaults to 8125. |
STATS_BASE_KEY |
The base key to send the stats to. Defaults to the application name. |
Changelog
1.0.0
No longer reports timing values for endpoints that don’t exist.
Todo
More functionality? What Would you like?
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for Flask_Stats-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edf959c62f195f5c9d957223b3eedf337a62abd1c8b6ac5722bcedaef0670b6e |
|
MD5 | c21b67fe9fa21311b9149b1c0c1ae61a |
|
BLAKE2b-256 | d3579c4afbaa0a7d56ad318febf812f657183f6532db43f0006bddef318f5917 |