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

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.6.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Flask_Graphite-0.6.0-py2.py3-none-any.whl (6.2 kB view details)

Uploaded Python 2Python 3

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

Hashes for Flask-Graphite-0.6.0.tar.gz
Algorithm Hash digest
SHA256 887ee1a57855bbcead3bcb9de582b0d9d4d6f02fad821004de12f2509b437fc1
MD5 c03feaf3b9195ea9183ff9bc53ec612d
BLAKE2b-256 05974386234c7f84a707fabd71ab6da7c809e9080a4ca1c059196c8397d0806e

See more details on using hashes here.

File details

Details for the file Flask_Graphite-0.6.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for Flask_Graphite-0.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9c57e0fcfc0f855c8d2ef48e344b461e2ca03da386ee99efbc8b006247e9ca80
MD5 e2160c0fcee903f72dc5cbe92c86ef83
BLAKE2b-256 c79d5c4684f3e18af421264a612f5d83f1fc01e81c08f3565624bff9cf63dd37

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.2

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page