Python Prometheus Demo Save

Demo of using Prometheus for monitoring Python web applications

Project README

Python + Prometheus Demo

Demos based on codeship blog posts

The following two applications are discussed in the first blog post:

flask_app_prometheus

A Flask application using the native Prometheus Python client to expose metrics via the /metrics endpoint

flask_app_statsd_prometheus

A Flask application which pushes the metrics to a statsd bridge which converts DogStatsd metrics to Prometheus compatible metrics.

The second blog post refers to the next application:

aiohttp_app_prometheus

An aiohttp application with prometheus integeration.

Django web application + statsd -> Prometheus

django_app_statsd_prometheus

This demo demonstrates how we can push HTTP metrics from a Django application into statsd exporter which is then scraped by prometheus.

django_app_gunicorn_statsd_prometheus

This demo demonstrates howe can push statsd metrics from gunicorn running a django application. I learned about this approach from this blog post.

Attempts to get native prometheus export working

See blog post

flask_app_prometheus_worker_id

flask_app_prometheus_multiprocessing

Open Source Agenda is not affiliated with "Python Prometheus Demo" Project. README Source: amitsaha/python-prometheus-demo
Stars
107
Open Issues
6
Last Commit
9 months ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating