Site Reliability Engineering and Observability
From service-level objectives and error budgets to logs, traces and incident reviews, site reliability engineering and observability as told through the free samples of the Leanpub books on running production systems.
Created from the free samples of 12 Leanpub books and the descriptions and tables of contents of 5 more, with every source cited.
Site reliability engineering (SRE) is the practice of running production services by the methods of software engineering: reliability is stated as a measurable target, the service is measured against it, and the results decide what the team works on next. One of the sources defines it as the application of software engineering, measurement and explicit risk management to production services.[1] Observability is the companion discipline: producing and using the evidence, chiefly logs, metrics and traces, from which the behaviour of a running system can be measured and explained.[1]
The two are usually taught together because each is of little use alone. The same source describes the method as a closed loop: a dashboard without an objective cannot tell an important variation from noise, an objective without incident practice does not restore service, and an incident review without engineering follow-through does not reduce future risk.[1] The books in this field start from the premise that failure is certain, and that the questions worth asking are how a system will fail, what the consequences will be and how long recovery takes.[2] All of the books used here were published in 2026, and several of them apply the discipline to systems built on language models and to the clusters that train them.
This article covers the vocabulary of reliability and its targets, the three kinds of telemetry and the OpenTelemetry standard, the design of logs, health checks and failover, releases that are tested in production, incident response and its rehearsal, and reliability for AI systems. Its sources are the free samples of 12 Leanpub books and the public descriptions and tables of contents of 5 more. Where a sample says something, it is cited; where a book has no sample, or its sample stops before the relevant chapters, it is cited only for what its description and contents list say, and the note in the Sources list says so. Kubernetes and Docker have their own articles.
Where to start
A reader new to the subject can begin with SRE A Complete Visual Guide (2026), an introduction supported by diagrams that starts from the user's journey through a service and follows one order-processing service through objectives, telemetry, incident response and recovery; its chapters open with stated outcomes and close with review questions.[1] Its companion, Log Design A Complete Visual Guide (2026), does the same for logging and is independent of any logging product.[4]
A working software engineer has Operating Reliable Systems Under Real-World Failure (2026), which assumes familiarity with APIs, databases, networking and deployment pipelines but no specialism in distributed systems, and which is written as a reference without exercises.[2] For observability in particular, OpenTelemetry in Production (2026) addresses engineers and architects who have to deploy and operate a telemetry pipeline, and treats the adoption of the standard as settled and its correct operation as the open question.[3] A tester coming to the subject from quality assurance is the intended reader of Observability-Driven Testing: Testing in Production (2026), which asks for a year or two of testing experience and the ability to read Python and TypeScript.[6]
The remaining sources are narrower. Kubernetes Probes, Health Checks and Production Reliability (2026) treats one mechanism, the health check, on one platform,[5] and Mastering Keepalived (2026) and Vault in Production (2026) each cover the operation of a single piece of infrastructure, the second for readers who have already run it for some months.[9][10] OTLP on the Wire (2026) is described as explicitly not an introduction: it is for engineers who already use OpenTelemetry and want to read its protocol at the level of bytes.[14] Self-Healing Infrastructure: Building Autonomous Cloud Systems with AI (2026) is described as assuming that the reader has run a production system and been paged for it.[13]
History
Site reliability engineering took shape at Google in the early 2000s, when the running of its production services was given to software engineers, and it became widely known after the company published a book on its practice in 2016. Its central ideas, service-level objectives, error budgets and the reduction of repetitive manual work, have since been adopted well beyond organisations of that size. One source places it beside its neighbours: traditional operations emphasises stable administration and control, DevOps the flow of changes through collaboration and automation, platform engineering reusable internal products, and SRE measurable reliability outcomes and the engineering control of operational risk.[1] The same source notes that a small organisation may practise it without a dedicated team, and that renaming an operations team without changing its incentives, ownership or methods does not create one.[1]
The word observability comes from control theory, where it names the degree to which the internal state of a system can be inferred from its outputs. It entered software operations as architectures changed. In the era of the monolith a system was typically one application with one database on one server, deployed monthly or quarterly; with microservices a single request may cross five, ten or twenty services, dependencies are numerous and deployment is continuous.[6] Each kind of telemetry acquired its own tools and agents, and in 2019 two competing open-source projects, one for tracing and one for metrics, merged to form OpenTelemetry, which set out to treat traces, metrics and logs as one concern.[3]
Visibility below the application has a longer lineage. The Berkeley Packet Filter of 1992 was a way of filtering network packets inside the kernel; its extended form, eBPF, entered the Linux kernel in 2014 and grew into a general means of running verified, sandboxed programs in the kernel in response to events.[8]
Reliability and its targets
The sources spend their first chapters on vocabulary, on the argument that confused terms produce designs that miss the actual requirement.[2]
The vocabulary
Availability is the probability that a system is able to serve requests at a given moment; reliability is the probability that it performs its function without failure over a period. A system that fails often and recovers quickly can be highly available without being reliable.[2] Resilience is the ability to keep an acceptable level of service during and after an adverse event, and durability is the probability that data, once written and acknowledged, persists; the four properties have to be reasoned about separately, since a system can be always up and still lose data.[2] The introductory guide adds that a definition of availability matters as much as its value: that a server accepted a connection and that a customer placed an order are both measures of availability, and only the second represents what the user came for.[1]
Availability is traditionally counted in nines. Three nines, 99.9 per cent, allows about 8.76 hours of downtime in a year, four nines about 52.6 minutes and five nines about 5.26 minutes, each additional nine demanding a tenfold reduction.[2] The figure conceals a good deal: one outage of several hours and a thousand outages of thirty seconds give the same annual number, components that share a failure mode do not multiply their availabilities, and a service that answers in thirty seconds instead of a tenth of a second counts as up.[2]
Indicators, objectives and error budgets
The response to those limits is to measure what users experience. A service-level indicator (SLI) is a quantitative measure of a service's behaviour, a service-level objective (SLO) is the target the indicator should meet over a defined window, and the error budget is the amount of bad service the objective permits.[1] A service-level agreement is a different thing, a formal commitment that may carry remedies when a target is missed.[1] Latency indicators are usually percentiles, because the tail of the distribution, the slowest one request in a hundred or a thousand, decides the experience of the unluckiest users and the behaviour of the systems that depend on the service.[7] An objective also says when work is finished and what comes first: optimisation is complete when the objective is met with reasonable headroom.[7]
The target is a decision and not an aspiration. Over thirty days an objective of 99.0 per cent permits a little over seven hours of unavailability, 99.9 per cent about 43 minutes and 99.99 per cent about four, and each step asks for more redundancy, stricter control of change and more operational staffing, which can themselves introduce defects and slow delivery.[1] The right target is therefore the one that is reliable enough for the user and the business, with the remaining risk stated.[1] A worked example in the same sample considers a service that fails twice a month when its database connections run out, and compares three responses: more people on call, an earlier alert, and an engineering change that limits concurrency and removes the leak. Its conclusion is that staffing and monitoring support reliability while engineering changes it.[1]
Telemetry
A scenario recurs in the introductions of these books: a service is slow, every dashboard is green, and the engineer on call cannot find out why.[7][8] Observability is the attempt to make that question answerable.
Logs, metrics and traces
Three kinds of signal carry most of the evidence. A trace records the path of one request through a distributed system as a graph of spans, each a named and timed operation linked to its parent. Metrics are numeric measurements over time, such as counters, gauges and histograms. Logs are timestamped records of discrete events.[3] They answer different questions: a metric says how much, how often or how fast; a trace says where a transaction spent its time; a log says what exactly happened to one operation.[4] An example in one sample follows a timeout through all three: a metric shows that the rate of timeouts rose, a trace shows that a downstream call consumed most of the request's time, and a log records the timeout that was configured, the time that elapsed and the decision to retry.[4]
The value lies in moving between them, which requires shared identifiers: a log record that carries the identifier of its trace, and attributes on every signal that say which service produced it.[3] Which measurements to read is its own subject. Utilisation, the fraction of time a resource is busy, says how much is being consumed and not how close the resource is to its limit; saturation, visible as queues and waiting, is what precedes a collapse, and it can occur at low utilisation.[7] The same sample insists on a baseline measured under representative load, since a change cannot be detected without a reference.[7]
OpenTelemetry
OpenTelemetry is a specification and not a product. It defines how telemetry is generated, represented and transmitted, and the project publishes programming interfaces and development kits for instrumenting code, a standalone Collector that receives, processes and exports telemetry, a shared vocabulary of attribute names called semantic conventions, and a wire protocol, OTLP.[3] It does not store data, draw dashboards or raise alerts; what it replaces is the proprietary instrumentation that ties an application to one vendor's tools.[3] OpenTelemetry in Production opens with the situation the standard was meant to end, an engineer consulting four tools during an incident, each with its own agent on every host and none sharing context with the others.[3]
The sample's account of the design turns on a separation of roles. The author of a library instruments it against the interface alone; the owner of the application configures the kit, choosing where telemetry is sent and how much of it is sampled.[3] It also lists what goes wrong in practice: sampling that discards the traces that mattered, metric labels with so many distinct values that the storage backend fails, collectors that run out of memory under load, and personal data leaking into telemetry.[3] OTLP on the Wire is described as going one layer below instrumentation and Collector configuration, decoding real trace, metric and log payloads through their encoding and transport and connecting the structure to failure modes and to the cost of telemetry.[14] The standard leaves the choice of backend open, and Observability Tools, a seventeen-page guide, is described as arranging the design of observability by type of workload and then comparing ten platforms on features, drawbacks, pricing models and suitable uses.[15]
Designing logs
Log Design A Complete Visual Guide argues that logs should be designed as dependable evidence and not emitted as incidental text, and that the design starts from the decisions that engineers, operators, security analysts and auditors have to make, before any library or storage platform is chosen.[4] Its opening example sets a line of free text beside a structured event that identifies the operation, the entity affected, the outcome and the reason, so that failures can be counted and retrieved without parsing sentences.[4] Both of the familiar policies fail by its account: logging everything is unsafe, costly and hard to query, and logging only errors removes the record of successful steps that shows where work stopped.[4]
The sample separates operational logs from security events, audit logs and the system's own record of business state, each with its own owner, access rules and retention.[4] It also warns against reading silence as evidence. The absence of an event can mean that the source crashed, a buffer filled or the query was wrong, so a log has to be verified along its whole path, to the point where a test event can be found and used.[4]
Below the application
Some questions cannot be answered from telemetry that the application chose to emit. The older means of looking inside a running Linux system each had a cost: tracing system calls slowed the process under study, profilers needed careful configuration, and kernel modules ran with full privileges and could bring down the machine.[8] eBPF programs are checked for safety before they run and can be attached to kernel and application functions without changing or restarting the software observed, which is why the technology now underlies much tracing, profiling and network monitoring.[8]
Detecting and containing failure
Measurement is of use only if something acts on it, and the first actor is often the platform itself. Kubernetes Probes, Health Checks and Production Reliability begins from the observation that an orchestrator knows when a process exits and does not know when an application has stopped doing useful work: without health checks, any running container is treated as healthy.[5] Its example is a brief database failover after which every replica of a web service holds dead connections and fails every request, while the platform reports all of them running and ready.[5] Kubernetes divides the check in three. A liveness probe restarts a container that cannot recover by itself, a readiness probe withdraws traffic from one that is temporarily unable to serve, and a startup probe protects an application that is slow to initialise.[5] The sample is as much concerned with the harm a check can do: a liveness probe that depends on an external service will restart every replica when that service falters.[5]
That well-meant mechanisms cause damage is one of four lessons that Operating Reliable Systems Under Real-World Failure draws from four publicly documented outages. Retries intended for transient faults can overwhelm a service that is struggling, and failures travel along dependency chains that appear on no architecture diagram.[2] The vocabulary for limiting the spread is shared across the sources. A failure domain is a set of components likely to fail together, and the blast radius is the scope of what a failure affects; two replicas in separate machines still share a fate if they depend on one database or receive one faulty configuration.[1] Mastering Keepalived applies the idea at the level of the network, where a service reached through one address is moved to a standby node when the primary fails. It defines the recovery time objective as the longest acceptable interval between failure and restoration, and describes the partition in which both nodes believe themselves primary as one of the hardest problems in the design of high availability.[9]
Releases and testing in production
Change is a leading cause of failure, and one source argues that testing before deployment, though essential, cannot find a whole class of faults: degradation in a third party's service, exhaustion of connection pools under real load, memory leaks that take hours to appear, and bugs triggered by particular users' data.[6] Its answer is to extend testing into production under controlled exposure. A new version is deployed to a small share of traffic, automated analysis compares its error rate with that of the stable version, and the release is widened or withdrawn accordingly.[6] In the sample's worked case, a payment fault affecting one transaction in a hundred runs for two and three-quarter hours when the first signal is a customer's complaint, and for six minutes on a twentieth of the traffic when a canary release is analysed automatically.[6] Two of its principles are that deploying code is not the same as releasing it to users, and that a rollback is the system working as designed.[6]
Argo Rollouts: Progressive Delivery for GitOps Practitioners is described as a set of labs on this practice for Kubernetes, covering canary and blue-green deployments in which a release is validated against metrics and aborted automatically when the analysis fails, and in which the reader breaks releases on purpose to see what the controller does.[16]
Incidents, on-call work and practice
An incident, in the introductory guide's definition, is an unplanned event that materially degrades a service or creates an unacceptable risk and needs a coordinated response; not every defect is one, and not every alert should create one.[1] The time an incident costs is commonly divided into the time to detect it and the time to resolve it.[6] A runbook is a procedure that guides diagnosis, safe mitigation, escalation and verification, and toil is the manual, repetitive, automatable work that grows with the service and leaves nothing lasting behind.[1] The general reference among the sources gives its later parts to this side of the work: alerts that are actionable and not ignored, with alert fatigue treated as a direct cause of unreliability; roles and communication during an incident; postmortems that assign no blame; and on-call rotations that people can sustain.[2]
Recovery procedures decay unless they are exercised. Vault in Production is written for the installation that has run for two years, that many services now depend on, and that nobody has restored from a snapshot since it was built.[10] Each of its chapters has the reader break a lab cluster deliberately, on the argument that the length of an outage depends largely on whether the person on call has seen the error message before, and ends in a fragment of a runbook left incomplete on purpose.[10] Its account of failures after the first day is that they accumulate: nothing is misconfigured and every command succeeds until, months later, something that took milliseconds takes seconds.[10] Build Your Own Cloud Competition is described as turning the same skills, inspecting an unfamiliar environment, making a safe change and confirming the result, into scored competitions with injected faults and manual recovery.[17]
Reliability for AI systems
Much of the 2026 writing applies the discipline to language models, in two directions. The first is the operation of systems built on them. Production LLMOps names operational invisibility among the common ways such deployments fail, with teams learning of problems only from users, and lists the signals these systems add to the usual ones: token consumption and cost, rates of hallucination, the quality of retrieval and drift in outputs over time.[11] The second is the use of models in operations. Self-Healing Infrastructure: Building Autonomous Cloud Systems with AI, written for regulated and safety-critical industries, is described as building alert enrichment that continues to page when the model provider is unavailable, a tool that drafts a blameless postmortem from an incident's chat thread, and a remediator that acts only behind a check that its action can be reversed; the description adds that one chapter argues against autonomous remediation for production alerts, and another concedes that a short heuristic at a hundredth of the cost is a sound baseline.[13]
The clusters that train models strain an assumption underneath conventional monitoring. Beyond Uptime: Reliability Engineering for AI Infrastructure is described as starting from the fact that a synchronised training job runs at the speed of its slowest participant, so that tools built to check whether independent nodes are online do not detect a cluster that is up and stalled; its contents list chapters on a reconstructed incident, on observability as the collection of evidence and on a layer-by-layer method of diagnosis.[12] The part of its sample that can be read explains the underlying machinery for a general reader, likening processor, graphics processor, memory and network to the manager, workforce, workbench and roads of a factory.[12]
Questions about Site Reliability Engineering and Observability
Which SRE book should I start with?
A newcomer can start with SRE A Complete Visual Guide, an introduction with diagrams that follows one order-processing service from objectives to incident response and recovery.[1] An engineer with production experience has Operating Reliable Systems Under Real-World Failure, a reference that assumes knowledge of APIs, databases and deployment pipelines.[2]
What is the difference between an SLI, an SLO and an SLA?
What is an error budget?
What is the difference between logs, metrics and traces?
Does OpenTelemetry replace my monitoring tools?
Is 99.999 per cent availability always the right target?
Sources
Every source is a Leanpub book or course. The note after each says which part of it was read; where no sample was available, only the public description and table of contents were used.
- 1.SRE A Complete Visual Guide, Reiner Braun: A Practical Reliability Engineering Guide for Systems Engineers Free sample: the overview of the six parts, chapter 1 (definitions, reliability as a trade-off, SRE beside operations, DevOps and platform engineering) and the opening of chapter 2 on mapping a service and its dependencies. 2026. Free sample: PDF · EPUB
- 2.Operating Reliable Systems Under Real-World Failure, Steve Publications: Principles, Architecture, Engineering Practices and Operational Resilience Free sample: the introduction (four documented outages, the outline of the seven parts) and the opening of chapter 1 on availability, reliability, resilience, durability and the meaning of nines. 2026. Free sample: PDF · EPUB
- 3.OpenTelemetry in Production, Steve Publications: Designing, Deploying, and Operating Observability at Scale Free sample: the introduction (what OpenTelemetry is and is not, the plan of the book) and most of chapter 1 on signals, resources, the API and SDK layers and semantic conventions. 2026. Free sample: PDF · EPUB
- 4.Log Design A Complete Visual Guide, Reiner Braun: A Practical Guide from Foundations to Production Operations Free sample: chapter 1 (logs as evidence, the logging lifecycle, logs beside metrics and traces, quality goals) and the opening of chapter 2 on deriving logging requirements. 2026. Free sample: PDF · EPUB
- 5.Kubernetes Probes, Health Checks and Production Reliability, Steve Publications: A Practical Beginner-to-Advanced Guide for Building Self-Healing, Fault-Tolerant Systems Free sample: chapter 1 (silent failure without probes, the three probe types, why self-healing has to be configured) and the opening of chapter 2 on health and availability. 2026. Free sample: PDF · EPUB
- 6.Observability-Driven Testing: Testing in Production, Yuri Syuganov: Logs, Metrics, Traces, and Quality in Live Systems Free sample: the introduction and chapter 1 on why testing before deployment is not enough, with its canary-release example. 2026. Free sample: PDF
- 7.Linux Performance Engineering & Server Benchmarking, Steve Publications: From Kernel Internals to Production Optimization Free sample: the introduction (latency, utilisation and saturation, measurement and baselines) and the opening of chapter 1 on characterising a workload and setting SLIs and SLOs. 2026. Free sample: PDF · EPUB
- 8.eBPF for Systems Engineers, Steve Publications: From First Principles to Production Deployments Free sample: the introduction (tracing before eBPF and what it changed) and the opening of chapter 1 on the history of the Berkeley Packet Filter. 2026. Free sample: PDF · EPUB
- 9.Mastering Keepalived, Steve Publications: High Availability, VRRP, Failover Architecture, Health Checking and Production Operations Free sample: the introduction and chapter 1 on the virtual-address pattern, recovery objectives, failure domains and the failure scenarios of a two-node pair. 2026. Free sample: PDF · EPUB
- 10.Vault in Production, Thomas Zachmann: Operating HashiCorp Vault and OpenBao After Day One Free sample: the front matter on the book's method (labs, deliberate failures, runbook fragments), chapter 1 on failures after the first day and its first lab. 2026. Free sample: PDF · EPUB
- 11.Production LLMOps, Steve Publications: Designing, Deploying, and Operating Large Language Model Systems at Scale Free sample: the introduction (five ways deployments fail, what LLMOps adds to MLOps, six principles) and the opening of chapter 1; the chapter on observability is not in it. 2026. Free sample: PDF · EPUB
- 12.Beyond Uptime: Reliability Engineering for AI Infrastructure, Sreejith Kaimal Free sample: two introductory sections of chapter 1 only, with every other section shown as a heading; cited otherwise from the description and contents. 2026. Free sample: PDF · EPUB
- 13.Self-Healing Infrastructure: Building Autonomous Cloud Systems with AI, Ajin Baby No sample: from the description and table of contents. 2026.
- 14.
- 15.Observability Tools, Sudhanshu Jaiswal: Design & Comparison Guide No sample: from the description and table of contents. 2026.
- 16.Argo Rollouts: Progressive Delivery for GitOps Practitioners, Kirshi Yin | Curious Devs Corner: A Hands-On Guide to Kubernetes Canary and Blue-Green Deployments with Argo CD, Istio, and Prometheus No sample: from the description. 2026.
- 17.Build Your Own Cloud Competition, Susumu Tomita: Design, Build, and Run GameDay-Inspired AWS Challenges with TenkaCloud No sample: from the description. 2026.
Further reading
Other books in the library on the same ground, not cited above.
- Enterprise AI Platform, Thomas Zachmann: Lab Guide — GPU Infrastructure, Model Serving and Operations A lab guide to building and operating a shared platform for model serving on Kubernetes, with inference metrics and troubleshooting tables among its chapters. 2026. Free sample: PDF
- Operating Petabyte-Scale ClickHouse Clusters, Steve Publications: A Production Engineering Guide from Architecture to Operations A reference on running a columnar database often used to store logs and telemetry, with chapters on monitoring, disaster recovery and incident response. 2026. Free sample: PDF · EPUB
- AI Agents and Systems Engineering, Steve Publications: Architecture, Design Patterns, and Production Practices for Autonomous Systems On designing and operating AI agent systems as distributed software, with chapters on reliability engineering and observability for agents. 2026. Free sample: PDF · EPUB