Skip to main content
https://raw.githubusercontent.com/numberly/flask-graphite/master/artwork/flask-graphite.png

https://img.shields.io/pypi/v/flask-graphite.svg https://img.shields.io/github/license/numberly/flask-graphite.svg https://img.shields.io/travis/numberly/flask-graphite.svg https://img.shields.io/coveralls/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

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:

An example dashboard powered with Flask-Graphite

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)

Source distribution for Flask-Graphite 0.6.0
File Size Uploaded
Flask-Graphite-0.6.0.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Flask-Graphite 0.6.0
File Interpreter ABI Platform
Flask_Graphite-0.6.0-py2.py3-none-any.whl Python 2, Python 3 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

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page