Skip to main content

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.


Install by installing it from the Python Package Index.

$ pip install Flask-Stats


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.



  • No longer reports timing values for endpoints that don’t exist.


More functionality? What Would you like?

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
Flask_Stats-1.0.1-py2.py3-none-any.whl (4.1 kB) Copy SHA256 hash SHA256 Wheel 2.7
Flask-Stats-1.0.1.tar.gz (13.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page