An open API service indexing awesome lists of open source software.

https://github.com/techmaharaj/todo-prometheus-metrics

This ToDo app showcases how to use Prometheus Python SDK to add custom metrics to the app.
https://github.com/techmaharaj/todo-prometheus-metrics

flask observability prometheus prometheus-metrics python

Last synced: about 2 months ago
JSON representation

This ToDo app showcases how to use Prometheus Python SDK to add custom metrics to the app.

Awesome Lists containing this project

README

          

# ToDo Prometheus Metrics

This is a simple ToDo application built using Python & Flask. It makes use of the official [Promethues Python SDK](https://github.com/prometheus/client_python) to add custom metrics to the app.
These metrics are added to `/metrics` endpoint which can be exported to apps like Grafana, New Relic etc. for visualization.

**Note:**
The app makes use of Redis to store ToDo items, so make sure that Redis is installed and running before you run this application. You can refer to this documentation on [Python with Redis](https://developer.redis.com/develop/python/) to know more.