
- The four golden signals of monitoring and how they map to real-world metrics
- How to instrument applications and services using Prometheus client libraries and OpenTelemetry
- Writing effective PromQL queries to detect and diagnose issues
- Techniques to prevent high-cardinality explosions and keep your metrics cost-efficient
- Building dynamic Grafana dashboards and configuring alerts for proactive operations
These labs emphasize active participation: you will deploy Prometheus and Grafana from scratch and use the
kube-prometheus-stack Helm chart to integrate them with a live Kubernetes cluster.
- Deploy the observability stack into Kubernetes (manually and via Helm)
- Scrape targets with Prometheus and explore common scrape configurations
- Instrument sample applications (e.g., FastAPI/Python) with OpenTelemetry + Prometheus client libraries
- Build dashboards and alerts in Grafana, and iterate based on observed signals
Example Deployments (abbreviated) you’ll work with:
- A PromQL expression that matches all 5xx responses:
- Sample metric family (type and a few series):
- Labels (e.g.,
provider,service,endpoint,customer_id) combine multiplicatively. - Example growth: if you have 3 providers × 2 services × 3 endpoints × 1,000,000 customers = 18,000,000 unique time series.
- Left unchecked, high-cardinality metrics cause storage, performance, and cost issues.

High-cardinality labels (for example, per-request IDs or raw user IDs) can create millions of time series. Use aggregation, bucketing, or sampling strategies, and avoid including high-cardinality identifiers as metric labels.

- Prometheus querying (PromQL): https://prometheus.io/docs/prometheus/latest/querying/basics/
- Prometheus client libraries: https://prometheus.io/docs/instrumenting/clientlibs/
- OpenTelemetry: https://opentelemetry.io
- kube-prometheus-stack Helm chart: https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack
- Kubernetes documentation: https://kubernetes.io/docs/