Skip to main content

Flask metrics in Carbon Statsd format.

Project description


Generate and send Flask metrics in Graphite Carbon Format format.


pip install flask-carbon-statsd

# Latest Code

pip install git+

Usage Example

from flask import Flask, Blueprint
from flask_carbon_statsd import FlaskCarbonStatsdTimerCounter

flask_metrics = FlaskCarbonStatsdTimerCounter(host='localhost', port=8125)

app = Flask(__name__)

# or
flask_metrics = FlaskCarbonStatsd(app=app, host='localhost', port=8125)

bp = Blueprint('dashboard', __name__)

def index(device):
    return 'OK'

  • Request /dashboard with FlaskCarbonStatsdTimer|ms
  • Request /dashboard with FlaskCarbonStatsdTimerCounter|ms|c

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-carbon-statsd-0.1.tar.gz (3.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page