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:
Metadata
Release files for Flask-Graphite 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| Flask-Graphite-0.6.0.tar.gz | 4.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Flask_Graphite-0.6.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 10.8 kB
Release files / Flask-Graphite-0.6.0.tar.gz
| Download URL | Flask-Graphite-0.6.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
887ee1a57855bbcead3bcb9de582b0d9d4d6f02fad821004de12f2509b437fc1
|
|
BLAKE2b-256 checksum How to use checksums |
05974386234c7f84a707fabd71ab6da7c809e9080a4ca1c059196c8397d0806e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Release files / Flask_Graphite-0.6.0-py2.py3-none-any.whl
| Download URL | Flask_Graphite-0.6.0-py2.py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9c57e0fcfc0f855c8d2ef48e344b461e2ca03da386ee99efbc8b006247e9ca80
|
|
BLAKE2b-256 checksum How to use checksums |
c79d5c4684f3e18af421264a612f5d83f1fc01e81c08f3565624bff9cf63dd37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Security for Flask-Graphite 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.