Logging, Metrics, Tracing & Alerting
Learn observability hands-on: structured logs, Prometheus metrics and PromQL, OpenTelemetry tracing, SLOs, burn-rate alerts and on-call practice.
Learn Logging, Metrics, Tracing & Alerting free, in English or Hindi, with lessons, shorts and interview questions.
Start course → · Interview questions
35 lessons · 11 modules · Free
What you'll learn
- Explain the difference between monitoring and observability, and when to use logs, metrics or traces.
- Write structured, correlated, privacy-safe logs and query them in a log backend.
- Instrument services with counters, gauges and histograms, control cardinality and write correct PromQL.
- Trace requests across services with OpenTelemetry, context propagation and sensible sampling.
- Define SLIs, SLOs and error budgets, and build multi-window burn-rate alerts with useful routing.
- Investigate an incident by moving from metrics to traces to logs, and run blameless postmortems.
Syllabus
Prerequisites and the Observability Mental Model
- Monitoring vs Observability
- Logs, Metrics and Traces
- The Telemetry Pipeline
Logging Foundations
- Log Levels and What to Log
- Structured Logging
- Correlation IDs and Log Context
Log Pipelines at Scale
- Shipping Logs off the Machine
- Storing and Querying Logs
- Log Hygiene: Volume, Privacy and Sampling
Metrics Foundations
- Counters, Gauges, Histograms and Summaries
- Labels and Cardinality
- RED, USE and the Four Golden Signals
Prometheus and PromQL
- How Prometheus Works
- PromQL Essentials
- Percentiles and Histogram Queries
Distributed Tracing
- Anatomy of a Distributed Trace
- Context Propagation and traceparent
- Head and Tail Sampling
OpenTelemetry in Practice
- OpenTelemetry: The Big Picture
- Instrumenting a Python Service
- The OpenTelemetry Collector
- Connecting Logs, Metrics and Traces
SLIs, SLOs and Dashboards
- SLIs, SLOs, SLAs and Error Budgets
- Burn-Rate Alerting
- Dashboards That Answer Questions
Alerting and On-Call
- Designing Alerts Worth Waking Up For
- Routing, Grouping and Silencing Alerts
- On-Call, Runbooks and Postmortems
Performance, Cost, Security and Pitfalls
- Cost and Performance Overhead
- Security and Privacy of Telemetry
- Common Observability Pitfalls
Revision and Interview Prep
- Cheat Sheet
- Common Interview Questions
- Self-Check: Debugging a Slow Checkout
- Self-Check: Mixed Revision