Skip to main content

Flask-Graphite grant you the power to push useful metrics for each route without effort

Project description

Flask-Graphite

https://img.shields.io/pypi/v/flask_graphite.svg https://img.shields.io/github/license/numberly/mongo-thingy.svg https://img.shields.io/travis/numberly/flask_graphite.svg https://readthedocs.org/projects/flask-graphite/badge/?version=latest

Flask-Graphite grants you the power to push useful metrics for each request without effort

Features

  • Send metrics to graphite for each request

  • Metric name based on the route of the request

  • Average processing time, number of requests, and stats about status code for each route

Example

Here is a minimal template to use Flask-Graphite in a project.

from flask import Flask
from flask_graphite import FlaskGraphite

app = Flask(__name__)
FlaskGraphite(app)

Such a simple snippet, combined with a Grafana dashboard, would give you something like this:

An example dashboard powered with Flask-Graphite

History

0.1.0 (2017-03-08)

  • First working version of Flask-Graphite.

0.0.0 (2017-01-27)

  • First release on PyPI.

Project details


Download files

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

Source Distribution

flask_graphite-0.4.2.tar.gz (366.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page