Free to read ยท Three levels

Prometheus: time series, PromQL, and alert contracts

Eighteen developed lessons cover Prometheus collection, series identity, PromQL, histograms, rules, relabeling, storage, routing, and validation.

18 lessonsEnglish + ArabicContent reviewed
Start learning

In this course

Follow a fictional warehouse service from instrument contracts through collection, series, queries, rules, and routing. The course emphasizes meaning: what a counter counts, which population an expression selects, and how identity, windows, absence, and limits change the decision.

Each level contains six complete lessons with explained examples, diagnostic mistakes, worked exercises, and official references. Python programs use local synthetic values only. Every PromQL, YAML, exposition, and flag block is non-executable teaching material; no Prometheus, Alertmanager, target, or receiver is started.

What you will learn

  • Write metric, target, label, unit, and completion-boundary contracts.
  • Interpret PromQL selectors, rates, aggregation, matching, histograms, and rules with their time semantics.
  • Review relabeling, cardinality, storage, copies, routing, and tests while separating models from actual implementation evidence.

Your learning path

Three levels

Who this is for

  • Developers, operations and platform engineers, and learners designing or reviewing Prometheus metrics, queries, and rules.
  • Teams seeking interpretable measurements and reviewable alerts with controlled identity, cost, and evidence boundaries.

Before you start

  • Basic services, HTTP, and programming knowledge; YAML and monitoring familiarity helps but system administration experience is unnecessary.
  • Basic Python reading is sufficient for calculations, with no cloud account, running service, or package installation required.