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
Built Distribution
File details
Details for the file Flask-Graphite-0.6.0.tar.gz
.
File metadata
- Download URL: Flask-Graphite-0.6.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 887ee1a57855bbcead3bcb9de582b0d9d4d6f02fad821004de12f2509b437fc1 |
|
MD5 | c03feaf3b9195ea9183ff9bc53ec612d |
|
BLAKE2b-256 | 05974386234c7f84a707fabd71ab6da7c809e9080a4ca1c059196c8397d0806e |
File details
Details for the file Flask_Graphite-0.6.0-py2.py3-none-any.whl
.
File metadata
- Download URL: Flask_Graphite-0.6.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c57e0fcfc0f855c8d2ef48e344b461e2ca03da386ee99efbc8b006247e9ca80 |
|
MD5 | e2160c0fcee903f72dc5cbe92c86ef83 |
|
BLAKE2b-256 | c79d5c4684f3e18af421264a612f5d83f1fc01e81c08f3565624bff9cf63dd37 |