This project was a fun and interactive way that I demonstrated observability concepts using Flask, Prometheus metrics, and a disco-themed button that users can click to generate metrics. It uses a Flask web application with Prometheus to track metrics such as button clicks and page requests.
Attendees were able to access the deployed application, and spam requests to the button. The surge in requests was captured and presented on a visual dashboard to demonstrate how observability can help detect high-volume events.
- Flask Web App: A simple Flask app with two main pages.
- Disco-Themed Button: A vibrant button that users can click to generate metrics.
- Prometheus Metrics: Tracks and exposes metrics such as button clicks and page requests.
wicsWorkshop/
βββ app.py # Main Flask app
βββ static/ # Static files such as images, CSS
β βββ images/ # Image directory
βββ templates/ # HTML templates
β βββ index.html # Main HTML file
βββ requirements.txt # Python dependencies
βββ README.md # Project readme file