About Prometheus

Time-series metrics monitoring, PromQL querying, scrape targets & Alertmanager.


Architecture & Workflow

Diagram

Key Benefits for Modern DevOps

  • Automation: Eliminates repetitive manual procedures through codified configuration.
  • Reliability & Consistency: Reduces configuration drift across development, staging, and production environments.
  • High Observability: Provides deep telemetry into application and infrastructure health.

Complete Curriculum Roadmap

This comprehensive handbook covers the entire Prometheus engineering lifecycle across 13 structured modules:

Module 1: Introduction to Prometheus

  • What is Prometheus: What Is Prometheus, Prometheus Use Cases, Prometheus In Devops, Prometheus Vs Other Monitoring Tools
  • Prometheus Architecture: Architecture Overview, Prometheus Server, Time Series Database, Pull Vs Push Model, Prometheus Components

→ Explore Introduction to Prometheus


Module 2: Installation & Setup

  • Installing Prometheus: Install Linux, Install Docker, Install Kubernetes, Install With Helm, Install Binary
  • Prometheus Configuration: Prometheus Yml Overview, Global Configuration, Scrape Configs, Storage Configuration, Prometheus Cli Flags
  • Prometheus Directory Structure: Directory Overview, Data Directory, Config Files, Prometheus Web Ui

→ Explore Installation & Setup


Module 3: Metrics

  • Understanding Metrics: What Are Metrics, Time Series Data, Metric Names, Metric Labels, Samples And Timestamps
  • Metric Types: Counter, Gauge, Histogram, Summary, Choosing Metric Types
  • Metric Exposition Format: Exposition Format Overview, Text Based Format, Openmetrics Format, Reading Metrics Endpoint

→ Explore Metrics


Module 4: Exporters

  • What are Exporters: Exporters Overview, How Exporters Work, Official Vs Community Exporters, Exporter Best Practices
  • Infrastructure Exporters: Node Exporter, Node Exporter Installation, Node Exporter Metrics, Windows Exporter, Process Exporter
  • Database Exporters: Mysql Exporter, Postgres Exporter, Redis Exporter, Mongodb Exporter, Elasticsearch Exporter
  • Application and Service Exporters: Nginx Exporter, Haproxy Exporter, Kafka Exporter, Rabbitmq Exporter, Jmx Exporter, Blackbox Exporter
  • Cloud Exporters: Aws Cloudwatch Exporter, Gcp Exporter, Azure Exporter, Digitalocean Exporter

→ Explore Exporters


Module 5: PromQL

  • PromQL Basics: What Is Promql, Instant Vectors, Range Vectors, Scalars And Strings, Promql Data Types
  • PromQL Selectors and Matchers: Label Matchers, Equality Matchers, Regex Matchers, Negative Matchers, Combining Matchers
  • PromQL Operators: Arithmetic Operators, Comparison Operators, Logical Operators, Vector Matching, Aggregation Operators
  • PromQL Functions: Rate And Irate, Increase, Delta And Idelta, Histogram Quantile, Predict Linear, Label Functions, Math Functions, Time Functions
  • PromQL in Practice: Cpu Memory Queries, Http Request Queries, Error Rate Queries, Latency Queries, Saturation Queries, Promql Best Practices

→ Explore PromQL


Module 6: Scraping and Service Discovery

  • Scrape Configuration: Scrape Config Overview, Scrape Interval Timeout, Honor Labels, Metric Relabeling, Target Relabeling
  • Service Discovery: Service Discovery Overview, Static Configs, File Based Discovery, Dns Based Discovery, Consul Service Discovery
  • Cloud Service Discovery: Aws Ec2 Discovery, Aws Ecs Discovery, Gcp Discovery, Azure Discovery, Kubernetes Service Discovery

→ Explore Scraping and Service Discovery


Module 7: Alerting

  • Alerting Basics: Alerting Overview, Alerting Rules, Alert States, Alert Rule Syntax, Recording Rules
  • Writing Alert Rules: Cpu Alerts, Memory Alerts, Disk Alerts, Network Alerts, Application Alerts, Kubernetes Alerts
  • Alertmanager: What Is Alertmanager, Alertmanager Architecture, Installing Alertmanager, Alertmanager Config, Routing Tree, Grouping Alerts, Inhibition Rules, Silences
  • Alertmanager Receivers: Email Receiver, Slack Receiver, Pagerduty Receiver, Opsgenie Receiver, Webhook Receiver, Victorops Receiver

→ Explore Alerting


Module 8: Instrumentation

  • Instrumentation Basics: What Is Instrumentation, White Box Vs Black Box, Four Golden Signals, Use Method, Red Method
  • Instrumenting Applications: Prometheus Client Libraries, Instrumentation With Python, Instrumentation With Go, Instrumentation With Java, Instrumentation With Nodejs
  • Custom Metrics: Creating Custom Metrics, Exposing Metrics Endpoint, Custom Counters, Custom Gauges, Custom Histograms, Pushgateway Overview, When To Use Pushgateway

→ Explore Instrumentation


Module 9: Prometheus in Kubernetes

  • Prometheus on Kubernetes: Deploying Prometheus On K8s, Prometheus Operator, Kube Prometheus Stack, Prometheus Helm Chart
  • Kubernetes Monitoring with Prometheus: Kubernetes Metrics Overview, Monitoring Nodes, Monitoring Pods, Monitoring Deployments, Monitoring Namespaces, Kube State Metrics
  • ServiceMonitors and PodMonitors: What Is Servicemonitor, Creating Servicemonitors, What Is Podmonitor, Creating Podmonitors, Probe Resource
  • PrometheusRule: What Is Prometheusrule, Creating Alert Rules In K8s, Creating Recording Rules In K8s, Managing Rules With Helm

→ Explore Prometheus in Kubernetes


Module 10: Storage and Retention

  • Local Storage: Local Storage Overview, Tsdb Internals, Blocks And Chunks, Compaction, Retention Configuration
  • Remote Storage: Remote Write Overview, Remote Read Overview, Remote Write Configuration, Remote Storage Adapters, Thanos Overview, Cortex Overview, Mimir Overview
  • Long Term Storage with Thanos: Thanos Architecture, Thanos Components, Installing Thanos, Thanos With S3, Thanos Querying, Thanos Compactor

→ Explore Storage and Retention


Module 11: High Availability and Federation

  • Prometheus High Availability: Ha Overview, Running Multiple Prometheus, Deduplication, Ha With Thanos, Ha With Cortex
  • Prometheus Federation: What Is Federation, Hierarchical Federation, Cross Service Federation, Federation Configuration, Federation Best Practices

→ Explore High Availability and Federation


Module 12: Security and Administration

  • Prometheus Security: Security Overview, Tls Configuration, Basic Auth, Prometheus Behind Reverse Proxy, Network Security
  • Prometheus Administration: Prometheus Api, Admin Api, Snapshot Creation, Deleting Series, Reloading Configuration, Prometheus Cli
  • Performance Tuning: Cardinality Management, Reducing Cardinality, Query Optimization, Scrape Optimization, Resource Planning

→ Explore Security and Administration


Module 13: Prometheus Best Practices

  • Naming and Labeling: Metric Naming Conventions, Label Naming Conventions, Avoiding Label Pitfalls, Cardinality Best Practices
  • Production Best Practices: Production Checklist, Capacity Planning, Backup And Restore, Upgrade Strategies, Prometheus As Code, Runbook Integration

→ Explore Prometheus Best Practices