Push useful metrics for each request without effort!
Project description
Flask-Graphite grants you the power to push useful metrics for each request without effort
Documentation: https://flask-graphite.readthedocs.io.
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:
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.5.2.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for Flask_Graphite-0.5.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b80665f58fb4553f0b15697dc6204195d292a85dc24b59012b36405998bf99a |
|
MD5 | 0d908fa9053b9d5547042dc187b089ff |
|
BLAKE2b-256 | c291ca1247f9bac2bce2a573c8512850385ef7cf39be5139182784193d460a58 |