Prometheus Architecture and Metrics
Collection
Introduction to Monitoring with
Prometheus
Why monitoring matters
Overview of Prometheus in the CNCF ecosystem
Core components: Prometheus server, exporters, Alertmanager
Prometheus Architecture and Workflow
Pull-based model and time-series data storage
Targets, jobs, and labels
Retention, storage format, and performance basics
Setting Up Prometheus
Installing Prometheus on Linux or containerized
environments
Configuration file structure
Running and accessing the Prometheus web UI
Scraping Metrics from Exporters
Understanding metric exposition formats
Node exporter for system metrics
Custom exporters and blackbox monitoring basics
PromQL, Alerting, and Visualization
Understanding Prometheus Metric Types
Counter, Gauge, Histogram, Summary
Choosing the right metric for the use case
Interpreting metric data
Querying with PromQL
Basic query syntax and operators
Filtering with labels
Aggregations, rate functions, and time ranges
Real-world query examples
Writing and Managing Alerts
Creating alert rules in Prometheus
Threshold-based and expression-based alerting
Setting up basic Alertmanager integration
Basic Visualization Techniques
Using Prometheus’s graph view
Introduction to Grafana for Prometheus data
Creating simple dashboards
Hands-onb Exercises
Summary and Conclusion