Observability and Monitoring
Start here
Observability and Monitoring is a chapter of the System Design Masterclass course.
- 1.Log Levels12 min · the opening is free to read
- 2.Trace IDs16 min · the opening is free to read
- 3.Golden Signals16 min · the opening is free to read
770 lessons · 18 free to read
₹1,111 in India · $25 elsewhere, once
Get System DesignYou own this course
At 2 AM, payments start failing. The dashboard is green, the on-call engineer is asleep, and the first sign anything is wrong is an angry customer tweet. That gap, between the moment a system breaks and the moment a human understands why, is exactly what observability and monitoring exist to close. Every minute a problem goes undetected costs money, trust, and sometimes the entire weekend of the person paged to fix it.
This category teaches you how to make a system tell you what it is doing. You will work through the three pillars that carry every observability stack: logs (what happened), metrics (how much and how often), and traces (where a request went across services). Around those pillars sit the practices that turn raw signal into action: choosing what to alert on, defining what "healthy" means with SLIs and SLOs, measuring how fast you detect and recover, and wiring it all together with tools like Prometheus, Grafana, OpenTelemetry, Jaeger, and Datadog.
60 lessons in this topic · start with any of them
This page is the free part.
The course goes deeper on Observability and Monitoring
₹1,111 in India$25 everywhere elseonce, for the whole course
The System Design course covers Observability and Monitoring across a run of lessons, not one page. These 4 alone are about 48 minutes of step-by-step reading, every one with a quiz.
- Log Levels
The severity hierarchy that determines which messages matter and which are noise.
- Alerting
Getting notified when things go wrong, before your users tell you.
- Uptime Monitoring
Knowing whether your service is alive, the most basic health check.
- Downtime Tracking
Recording, measuring, and learning from every minute your service is unavailable.
all part of
System Design Masterclass
770 lessons · about 287 hours · 18 free to read
₹1,111in India, by UPI
$25everywhere else, by PayPal
It is really nice and good Please join the course
You own this course
Continue with Log Levelspay once,
yours for life
Monitoring Versus Observability
Monitoring answers questions you already know to ask. You decide in advance that CPU above 90 percent is bad, you set a threshold, and you get paged when it crosses. It works well for known failure modes. The problem is that distributed systems fail in ways nobody predicted, and a dashboard built for yesterday's outage tells you nothing about today's.
Observability is the broader goal: building a system whose internal state you can understand from the outside, even for failures you never anticipated. The Observability Overview lesson frames the difference, and it comes down to one test. When something breaks in a way you have never seen, can you ask new questions of your data and get answers without shipping new code? If yes, your system is observable. If you have to add logging and redeploy to understand an incident, you only have monitoring.
The practical bridge between the two is the three pillars. Logs give you detailed, timestamped records of discrete events. Metrics give you cheap, aggregatable numbers you can graph and alert on. Traces stitch a single request together as it hops across services. None of the three alone is enough. Logs without metrics drown you in detail; metrics without traces tell you that latency rose but not which service caused it.
The Three Pillars in Detail
Logs are the most familiar pillar and the easiest to do badly. The lessons on Log Levels, Structured Logging, Log Aggregation, Centralized Logging, and Log Management cover the progression from plain text scattered across servers to structured JSON shipped into one searchable store. The single biggest upgrade most teams can make is structured logging: emit logs as key-value data, not prose, so you can filter on user ID or status code instead of grepping.
Metrics are numbers measured over time, and the type matters. A Counter only goes up (total requests served). A Gauge moves both ways (current memory in use). Histograms and Summaries capture distributions so you can report Percentiles, which is what actually matters for user experience. Average latency lies; the p99 tells you what your slowest one percent of users feel. Time-Series Metrics, Metrics Collection, and Metrics Aggregation cover how these are stored and rolled up.
Traces are the pillar that makes microservices debuggable. A single user action might touch a dozen services, and Distributed Tracing follows it through all of them. The mechanics are Trace IDs, Span IDs, Distributed Context Propagation, and Baggage, plus the closely related Request IDs and Correlation IDs that let you join logs from different services back to one request. Without trace context, a microservices outage is a guessing game across a dozen log streams.
Defining and Measuring Reliability
You cannot improve what you have not defined. SLIs, SLOs, and SLAs are how teams put numbers on reliability. A Service Level Indicator is the raw measurement, like the percentage of requests served under 300 milliseconds. A Service Level Objective is the target you commit to internally, like 99.9 percent of requests under that bound over 30 days. A Service Level Agreement is the external, contractual version with financial penalties attached. The SLA/SLO/SLI Overview lesson ties the three together so you stop using the terms interchangeably.
The most useful idea that falls out of SLOs is the Error Budget. If your SLO is 99.9 percent, you are allowed to fail 0.1 percent of the time, and that allowance is a budget you can spend on risk. Plenty of budget left means ship faster. Budget exhausted means freeze features and fix reliability. It turns reliability from an argument into a number both engineers and product managers can read.
The time-based metrics quantify how well your incident response works. MTTD measures how long until you notice, MTTA how long until someone acknowledges the page, MTTR how long until it is resolved, and MTBF how long the system runs between failures. Alongside Availability Metrics, Uptime Monitoring, and Downtime Tracking, these are the numbers leadership asks about after every outage.
Knowing What to Watch and What to Alert On
Instrument everything and you will alert on nothing useful, because the noise buries the signal. The methodologies in this category exist to focus your attention. The Four Golden Signals (also taught as Golden Signals) are latency, traffic, errors, and saturation, the four numbers Google's SRE practice watches first on any service. The RED Method (Rate, Errors, Duration) is tuned for request-driven services, while the USE Method (Utilization, Saturation, Errors) is tuned for resources like CPU, disk, and memory.
User-facing measurement gets its own tools. APM watches your application code end to end, RUM captures what real users actually experience in their browsers, and Synthetic Monitoring runs scripted checks against your endpoints around the clock so you catch breakage before a real user does. The Apdex Score rolls user-perceived performance into a single 0-to-1 number that non-engineers can track.
Good Alerting is the discipline that ties this together. Alert on symptoms users feel, not on every internal metric. Page a human only for things that need a human right now; everything else goes to a dashboard or a ticket. The lessons on Infrastructure Monitoring, Network Monitoring, and Database Monitoring round out coverage of the layers beneath your application.
The Tooling Landscape
Theory becomes practice through tools, and this category covers the ones you will meet in real jobs. For metrics, Prometheus is the de facto open-source standard for collection and storage, almost always paired with Grafana for dashboards. StatsD and Telegraf are common metric collectors that feed into these systems.
For tracing, Jaeger and Zipkin are the leading open-source backends, and OpenTelemetry is the vendor-neutral standard that increasingly feeds all of them. OpenTelemetry matters because it lets you instrument your code once and send the data to whichever backend you choose, so you are not locked into one vendor's agent. For logs, the ELK Stack (Elasticsearch, Logstash, Kibana) plus shippers like Fluentd and Vector form the classic pipeline, while Splunk is the heavyweight enterprise option.
On the commercial side, Datadog, New Relic, AppDynamics, and Dynatrace bundle metrics, logs, and traces into one platform with less setup, at higher cost. The real-world pattern at most companies is a mix: open-source for high-volume signals where cost matters, a commercial platform where speed of setup and integrated dashboards matter more. The skill is not memorizing tools but knowing which signal each one is good at and how they fit together.
All 60 lessons in Observability and Monitoring
- 01Log Levels
- 02Alerting
- 03Uptime Monitoring
- 04Downtime Tracking
- 05Availability Metrics
- 06Metrics Collection
- 07Log Aggregation
- 08Centralized Logging
- 09Structured Logging
- 10Log Management
- 11Counter Metrics
- 12Gauge Metrics
- 13Time-Series Metrics
- 14Request IDs
- 15Correlation IDs
- 16Infrastructure Monitoring
- 17Network Monitoring
- 18Database Monitoring
- 19SLI (Service Level Indicators)
- 20SLO (Service Level Objectives)
- 21SLA (Service Level Agreements)
- 22SLA/SLO/SLI Overview
- 23MTTD (Mean Time to Detect)
- 24MTTA (Mean Time to Acknowledge)
- 25MTTR (Mean Time to Resolve)
- 26MTBF (Mean Time Between Failures)
- 27Error Budget
- 28Histogram Metrics
- 29Summary Metrics
- 30Percentiles
- 31Metrics Aggregation
- 32Observability Overview
- 33APM (Application Performance Monitoring)
- 34RUM (Real User Monitoring)
- 35Synthetic Monitoring
- 36Trace IDs
- 37Span IDs
- 38Distributed Context Propagation
- 39Baggage
- 40Distributed Tracing
- 41Apdex Score
- 42Golden Signals
- 43RED Method
- 44USE Method
- 45Four Golden Signals
- 46OpenTelemetry
- 47Prometheus
- 48Grafana
- 49Jaeger
- 50Zipkin
- 51Datadog
- 52New Relic
- 53AppDynamics
- 54Dynatrace
- 55Splunk
- 56ELK Stack
- 57Fluentd
- 58Vector
- 59Telegraf
- 60StatsD
Frequently asked questions
Learn Observability and Monitoring the interactive way
All 60 lessons with step by step diagrams, runnable code, and quizzes, plus the rest of the 770 lessons in the course. One payment, lifetime access, no subscription.
course 1
System Design Masterclass
From absolute beginner to principal engineer, drawn step by step.
- 770 interactive lessons
- Step-by-step system design diagrams
- Live code editors
- Quizzes with instant feedback
- Progress tracking and streaks
- Lifetime access and all future lessons
What buyers of this course say
It is easy and good
It is really nice and good Please join the course
The concepts were explained in a clear and structured way, with practical examples that made even complex system design topics easier to understand. I especially liked the focus on real-world architecture, scalability, trade-offs. The content was well designed, engaging, and highly useful for anyone looking to strengthen their system design skills. Highly recommended for software engineers preparing for system design interviews or wanting to build a stronger foundation in designing scalable systems.
Outstanding all-in-one source of knowledge, especially excellent practice
Ive started this course by accident - LLM advised me this site. When I passed few free lessons, I had no doubt - this course should be bought. And I did it with special pleasent price and it was best decision of the month. Content is great, interesting to read and with a lot of practial cases (what makes it different from other souces and books) I hope to teach all the lessons, that will be my supergoal. Glad that I found this resource and speacial Thank You to Roni Das - Great Job!