Monitor My Socks: Using Prometheus in a Polyglot Open Source Microservices
summary
Shows a working integration of Prometheus into the polyglot Sock Shop (Go, Java Spring Boot, Node/Express) with deployed manifests for Kubernetes and minikube, Grafana dashboards and Alertmanager hooked to Slack. Recommends RED metrics with histograms over summaries (define buckets, global metrics, and route-based labels to avoid high cardinality), implements middleware/interceptors to time HTTP calls, and demonstrates ~37,000 orders in the demo. Also highlights a hosted multi-tenant option Cortex backed by S3 and gives practical tips like 2–4 GB RAM for local minikube.
AI-written summary · about
chapters (21)
- 0:00Intro
- 1:15Cortex
- 1:45How do you do monitoring?
- 3:30Obnoxiously Polyglot
- 6:06Prometheus Libraries
- 7:23Metric definition
- 12:48Middleware definition
- 14:46Main Wiring
- 14:59Main Middleware
- 16:21First - the easy bit
- 17:35Timing - Easy option
- 18:30Timing - Intermediate option
- 18:51Timing - Current Implementation
- 19:09Timing - The nasty bit
- 20:04NodeJS - Express
- 21:29Deploying all the things
- 21:44Deploying to Kubernetes
- 22:47Rock it with Minikube
- 24:46Bonus: Grafana!
- 27:47Alertmanager manifest
- 31:02Alert rules
related talks
24mPractical Kubernetes Monitoring with Prometheus
32mDemocratizing Application Monitoring with Prometheus
29m“If you Don’t Monitor your Infrastructure, you Don’t Own it!” Regain Control Thanks to Prometheus
28mImprove Monitoring and Observability for Kubernetes with OSS Tools
34mPrometheus for Devs
28mMonitoring Microservices w. Prometheus & Tracing Apps w. OpenTracing
02h 43mPrometheus from A to Z
35mMonitoring Microservices
