Observability is how well you can understand what a system is doing, and why, from the telemetry it emits: logs, metrics, traces and, increasingly, profiles. Monitoring tells you when a failure you predicted has happened. Observability lets you ask new questions about failures you did not predict, without first shipping new code to find out.
This guide is for owners, tech leads and the first engineer asked to look after production. It covers the signals, how observability differs from monitoring, OpenTelemetry and its stability, structured logs, RED and USE, SLOs, alerting, cost, real user monitoring against synthetic checks, uptime checks, tools and a starter plan. OpenTelemetry's status is as of December 2026, and each page it comes from is dated.
What is observability, and how is it different from monitoring?
OpenTelemetry's primer defines observability as understanding a system from the outside by asking questions about it without knowing its inner workings. That includes novel problems, which it calls "unknown unknowns". The condition is instrumentation: the application must emit enough signals that nobody has to add more before the next question can be answered.
Google's SRE book defines monitoring as collecting, processing, aggregating and displaying real-time quantitative data about a system. It separates two kinds. Black-box monitoring tests what a user would see, so it reports symptoms happening now. White-box monitoring reads the system's internals, such as logs and metrics, so it can also catch imminent problems and failures that retries are hiding.
Monitoring decides when a person is told that something is wrong. Observability is what that person uses next to find out why. A system with polished dashboards is still opaque the first time it fails in a way nobody charted. A system with excellent telemetry and no alerts lets customers find the outage first, and detection time counts against your recovery time objective.

What are logs, metrics, traces and profiles?
Logs, metrics and traces are often called the three pillars of observability. OpenTelemetry's profiles page adds profiles as a fourth signal and lines the four up by the question each one answers:
| Signal | Question it answers | Shape of the data |
|---|---|---|
| Logs | What discrete events occurred? | A timestamped record for each event |
| Metrics | What is happening at the system level? | Numbers aggregated over time, such as a request rate |
| Traces | How does a request travel through the system? | Spans, the units of work, joined into one trace per request |
| Profiles | Which code is consuming the resources? | Samples of what the program was running, usually stack traces |
The signals work as a chain. A metric tells you that something is wrong, a trace tells you where, a log tells you what happened there and a profile tells you which code was responsible. The chain holds only when the signals share identifiers: the primer says logs become far more useful when correlated with a trace and a span.
Profiles are the newest signal. The page marks them Alpha and was last modified on March 23, 2026, so try them on one hot service before you depend on them.
What is OpenTelemetry, and how stable is each signal in December 2026?
OpenTelemetry (OTel) is a vendor-neutral framework for producing telemetry. Its specification status page says each signal is built from four parts: APIs, SDKs, the OpenTelemetry Protocol (OTLP) and the Collector. Instrumentation shares semantic conventions, so an HTTP request looks the same whichever library saw it. The CNCF lists OpenTelemetry as graduated since May 11, 2026.
Graduation describes the project, not every signal in every language, and the pages carry different dates. The status page, last modified October 19, 2025, rates tracing stable, metrics stable except for an SDK marked mixed, and logging stable, with the profiles protocol in development. The language table, last modified August 4, 2026, is newer, so it decides what you can use today:
| Language | Traces | Metrics | Logs | Profiles |
|---|---|---|---|---|
| Java | Stable | Stable | Stable | Development |
| Go | Stable | Stable | Stable | None listed |
| C#/.NET | Stable | Stable | Stable | None listed |
| JavaScript | Stable | Stable | Development | None listed |
| Python | Stable | Stable | Development | None listed |
| Ruby | Stable | Development | Development | None listed |
The status page says stable components are backward compatible and covered by long-term support, so anything below stable can change under you. The language page warns that experimental semantic conventions can break your data flow whatever the API's status, so pin versions. Go, .NET, PHP, Python, Java and JavaScript offer zero-code instrumentation. When OpenTelemetry pages disagree, trust the newest and confirm in the README of the SDK you install.
The Collector is a separate process that receives, processes and exports telemetry. OpenTelemetry recommends running one beside each service, because it handles retries, batching, encryption and sensitive-data filtering. Its own status is mixed: each component documents its stability in its README.
How should you log so the data is searchable and safe?
Write each event as one JSON object per line on standard output, and let the platform collect it. Fields can then be searched and counted. OWASP's logging cheat sheet adds a security reason: in many logging frameworks, unstructured text logs are open to log injection through carriage return and line feed characters, so it recommends structured formats such as JSON.
Give every line the same fields: time, level, service, environment, a stable event name, route template, status, duration, error code, and request and trace IDs. A name such as order.submit.failed can be counted and graphed; a sentence cannot.
{
"time": "2026-11-06T14:03:11.482Z",
"level": "error",
"service": "orders",
"env": "prod",
"event": "order.submit.failed",
"route": "/orders/:id",
"status": 504,
"duration_ms": 1840,
"error_code": "upstream_timeout",
"request_id": "3f9c1e0a",
"trace_id": "0af7651916cd43dd8448eb211c80319c",
"span_id": "b7ad6b7169203331"
}
Correlation IDs
Give each request an ID at the edge, copy it onto every log line and pass it on to every call the request makes. The W3C Trace Context Recommendation of November 23, 2021 defines the header that tracing tools understand:
traceparent: 00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01
The fields are a version (00), a 16-byte trace ID as 32 hex characters, the caller's 8-byte parent ID as 16 hex characters, and flags, of which this version defines only the sampled bit. Put the trace and span IDs on each log line and a trace and its logs join on one value.

Treat IDs from the public internet as untrusted. The standard warns that a public service that naively continues every incoming sampled trace can be swamped by tracing overhead or run up its tracing bill, and offers different tracing for authenticated and unauthenticated requests as one protection. Our rule: start a new trace for unauthenticated callers, and accept an inbound request ID only if it is a short opaque token.
What to keep out of logs
OWASP says session identifiers, access tokens, passwords, connection strings, encryption keys, payment card data and sensitive personal data should usually be removed, masked, hashed or encrypted first. Enforce that in one shared logger, not at each call site. Records kept for accountability belong in an audit trail, with their own protection and retention.
Good Cleaner Co., a local cleaning company serving Ottawa homes and businesses whose site we build and run, learned the other half of that lesson. Its logger was careful about what it recorded, but almost nothing called it: error handlers swallowed their failures, so a server error left no trace. The fix was one shared logger for every error path. It records an error's type and where it was thrown, and leaves the message out unless a developer opts in, because a database error message can carry the values of the failed query. The call is wrapped so that a failure to log cannot crash a handled error.
Which metrics should you start with: RED, USE or the golden signals?
Three checklists cover most of what a web service needs.
| Method | What you measure | Use it for |
|---|---|---|
| RED | Rate, errors and duration of requests | Every service that handles requests |
| USE | Utilization, saturation and errors | Every resource: CPU, memory, disks, network |
| Four golden signals | Latency, traffic, errors and saturation | A user-facing system when you can only watch four things |
Tom Wilkie created RED in 2015 for microservices, because in his view USE applies to hardware, networks and disks rather than services. USE asks, for every resource, how busy it is, how much work is waiting and how many errors it sees. In practice, apply RED to each route and USE to the host, database and queue underneath. The golden signals are the SRE book's equivalent, with saturation added.
Three habits make the numbers trustworthy.
- Measure duration as a distribution. The SRE book gives a service averaging 100 ms at 1,000 requests per second where 1% of requests might easily take 5 seconds. Count requests in latency buckets, report percentiles, and track the latency of failed requests separately, because a slow error is worse than a fast one. Count a request when it ends, so the count lines up with its error and latency.
- Label by route template, never by raw path.
/orders/:id, not/orders/81234. Prometheus's instrumentation guide warns that each label set is another time series, and the cost section turns that into memory and disk. - Measure time for queues and batch jobs. The same guide calls the last time a batch job succeeded its key metric. Our dead letter queue guide covers the alarm for the queue that holds failures.
What are SLOs and error budgets, and how do you set the first one?
A service level indicator (SLI) is a measurement of behaviour. The SRE workbook recommends writing it as a ratio, good events divided by total events. A service level objective (SLO) is, per the SRE book, a target value or range for a service level that an SLI measures, such as 99.9% of requests succeeding over 30 days. The error budget is what the target leaves: 100% minus the SLO. Google's example policy makes it concrete: 1,000,000 requests in four weeks and a 99.9% SLO give a budget of 1,000 errors.
Each extra nine shrinks the allowance tenfold. On a 30-day month of 43,200 minutes:
| SLO | Allowed downtime per month |
|---|---|
| 99% | 7.2 hours |
| 99.5% | 3.6 hours |
| 99.9% | 43.2 minutes |
| 99.99% | 4.32 minutes |
The SRE book says to avoid absolutes: an always-available system takes long to build, costs a lot to run and is probably better than users would notice. Set the first SLO in four steps.
Setting the first SLO
- Pick one journey users care about, such as signing in or submitting an order.
- Define a good event for it, for example a response without a server error inside a stated time.
- Measure it from data you already have. The workbook says to use the least engineering for first SLIs: if web server logs exist and probes would take weeks, use the logs.
- Start loose and tighten later. The SRE book says that is better than relaxing a target you cannot meet, and warns against choosing a target only because it matches current performance.
Then write a one-paragraph policy for a spent budget. Google's example halts changes other than top-priority and security fixes until the service is back within its SLO, and says it is not a punishment: it gives teams permission to focus on reliability. A small team can use a lighter rule: when the budget is spent, the next week starts with the biggest cause of failures. Holding releases is easy only if your CI/CD pipeline already puts an approval before production.

Tip
Keep the list short. The SRE book says to have as few SLOs as possible, and to drop any you could never quote to win an argument about priorities.
How do you alert on symptoms without drowning in pages?
Page a person only for something users are feeling, and make every page actionable. Prometheus's alerting practices say to alert on symptoms tied to end-user pain rather than every possible cause, and to page on latency at one point in the stack and on user-visible errors. The SRE book adds that every page should need a person's judgment, because people paged too often start ignoring pages.
Burn-rate alerts
An SLO gives you a better trigger than a fixed threshold. Burn rate is how fast the service spends its error budget relative to the SLO; a burn rate of 1 uses exactly the whole budget by the end of the window. The workbook pairs a long window, which shows that enough budget has gone to matter, with a short one a twelfth as long, which confirms the budget is still burning and clears the alert soon after the errors stop. For a 99.9% SLO it recommends:
| Severity | Long window | Short window | Burn rate | Budget spent |
|---|---|---|---|---|
| Page | 1 hour | 5 minutes | 14.4 | 2% |
| Page | 6 hours | 30 minutes | 6 | 5% |
| Ticket | 3 days | 6 hours | 1 | 10% |
As a Prometheus rule, the fast-burn page for an orders route looks like this. A burn rate of 14.4 on a 0.1% budget is an error ratio of 1.44%, and both windows must agree:
- alert: OrdersFastBurn
expr: |
(
sum(rate(http_requests_total{route="/orders",code=~"5.."}[1h]))
/ sum(rate(http_requests_total{route="/orders"}[1h])) > (14.4 * 0.001)
)
and
(
sum(rate(http_requests_total{route="/orders",code=~"5.."}[5m]))
/ sum(rate(http_requests_total{route="/orders"}[5m])) > (14.4 * 0.001)
)
labels:
severity: page
annotations:
summary: "Orders is spending its 30-day error budget 14.4 times too fast"

The table assumes enough traffic for a ratio to mean something. The workbook's low-traffic section describes a service with 10 requests an hour, where one failed request uses 13.9% of the 30-day budget for a 99.9% SLO, which leaves room for only seven failures in 30 days. Its remedies are artificial traffic from probes, combining related services and changing the product so one failure matters less. Add a floor of your own, a minimum number of failures, so a couple of failed requests at 3 a.m. cannot page anyone.
Also alert when the monitoring itself stops: Prometheus's guidance asks for alerts that confirm its servers and alert routing are available and running correctly.
Minute Notary, an online notary platform we build and run, applies these rules. Pages are for symptoms customers feel; causes such as a long database transaction are warnings for the same day. Every ratio alert needs a minimum number of bad events, a bigger alert silences the smaller ones it explains, and a daily digest holds what is worth knowing but not worth a message. One alert always fires on purpose, and its heartbeat goes to a separate outside service that raises the alarm when the heartbeats stop, so a dead monitoring server cannot pass for a quiet night. Reviewing the new setup also found that its server-error alert and its 5xx panels had been blind: the status code never reached the metrics under the name the rules read. The pipeline now keeps both names.
What does observability cost, and how do you keep it down?
Cost follows data volume: how many series you store, how many gigabytes of logs you ingest and keep, and how many traces you retain. Before you compare prices, find out what unit each platform bills in, and test with your own volume.
Metrics: cardinality
Cardinality is the number of distinct label combinations a metric carries, and each combination is its own time series. Prometheus's instrumentation guide says each label set costs memory, CPU, disk and network, suggests keeping most metrics below a cardinality of 10 and says to investigate any over 100 or likely to grow that large. A counter with 5 routes and 5 status classes is 25 series. Label it by raw path instead of route on a site with 10,000 paths and it can become 50,000.
The OpenTelemetry metrics concepts page, last modified July 2, 2026, describes a failure that is easy to miss. Its SDK caps each metric at 2,000 attribute combinations by default and folds the excess into one overflow data point. Totals stay correct, but any query that groups by an attribute undercounts, and an error-rate alert built on a status attribute can stop firing while the total looks healthy.
Storage and logs
Prometheus's storage page gives a rough formula: disk needed is retention in seconds times samples ingested per second times bytes per sample, which it puts at 1 to 2. The default retention is 15 days. For 20,000 series scraped every 15 seconds, about 1,333 samples a second, 15 days needs roughly 1.7 to 3.5 GB. The page says cutting the number of series is likely more effective than scraping less often.
Logs cost by volume, and Loki keeps its index small by indexing only the labels on each stream, so its label guidance is to use bounded values and add a label only when you know you need it. Set retention for each signal by the oldest question you will ask of it: months of metrics for trends, logs and traces for as long as an incident review may need them.
Traces: sample after you count
OpenTelemetry's sampling guide says to consider sampling at 1,000 or more traces per second, and that tens of small traces a second may not need it. Head sampling decides at the start, so it cannot promise to keep every trace with an error. Tail sampling decides after seeing most of the trace, so it can keep every error and slow trace, but it must be stateful. The tail sampling processor's README says all spans of a trace must reach the same Collector instance, and rates the processor beta for traces.
Count before you sample. Counts taken from the traces you kept are estimates, so take request and error counts from every request, then sample what you store.

Two more levers: redact and drop at the Collector, and limit what public callers can make you record, because the Trace Context standard warns that a malicious caller can run up your tracing bill. Our rate limiting guide covers how. Treat telemetry like any other bill: tag it by owner and alert on anomalies, as the FinOps guide describes, and review the largest sources each month.
Real user monitoring or synthetic checks: which do you need?
MDN defines both. Synthetic monitoring runs scripts that simulate a user's path, usually in a controlled environment, and reports what the simulator experienced. Real user monitoring (RUM) has real visitors' browsers report their own measurements. Synthetic data is consistent, cheap and good at catching regressions, but it does not reflect real users, especially the long tail. RUM shows real devices, networks and places, but costs more and says nothing when nobody visits.
That gap matters at night. Amazon's CloudWatch Synthetics describes canaries that follow the same routes as a customer, so you can verify the experience even with no customer traffic.

Our Core Web Vitals guide covers how real visits are judged at the 75th percentile, the thresholds and the browser snippet. Add two habits when you store the results. Send a route template, not the raw path: the guide's example sends the page path with each value, which is fine for a log row but not for a metric label. And report browser errors, because a customer who hits your error page leaves nothing on the server unless the page tells you.
Minute Notary learned both points. Before it had browser error telemetry, a customer who reached the app's error page left nothing the team could see, and a broken deploy came to light through a customer's email days later. It now has a write-only endpoint where the browser reports errors in a fixed vocabulary. The server rejects anything outside a strict schema, so free text from a browser never reaches the log store. The reports have their own rate-limit bucket, so a burst of errors during a bad deploy cannot use up the allowance real requests need. Its vitals beacon is just as strict. Some page addresses contain identifiers, so the browser maps each path to a template before sending anything, the server re-checks it against the same list, and unknown pages collapse into one "other" value. Identifiers stay out of metric labels and the series count stays bounded.
What should uptime monitoring check?
Run uptime checks from outside your own platform, because the platform cannot see its own network, DNS or CDN failing. Prometheus's alerting guidance says external black-box monitoring catches problems that are otherwise invisible and is a fallback if internal systems fail entirely. The open-source blackbox exporter probes HTTP, HTTPS, DNS, TCP, ICMP and gRPC endpoints and reports a probe_success metric. Run checks from more than one region, as our hosting service does, and page only when more than one location fails.
Check these, in order:
- The journey, beyond the home page. Sign in, search or submit the form that earns money or serves users, and assert on the content: the SRE book counts a 200 response with the wrong content as a failure.
- Certificate, domain and DNS expiry, with alerts that reach two people well ahead of each date. Our website maintenance guide lists certificate monitoring and domain renewals among the recurring tasks.
- A sensible frequency. For a 99.9% target the SRE book calls probing more than once or twice a minute probably unnecessary.
Liveness and readiness
If you run containers, keep two internal endpoints apart. The Kubernetes probe documentation uses liveness probes for applications that can recover from a broken state only by restarting. It uses readiness probes for applications that are temporarily unable to serve traffic, which you do not want to kill or send requests to. A database outage should fail readiness, not liveness. This site's liveness endpoint does not touch the database, because its public pages are static and keep serving without it. Its readiness endpoint reports the release it runs, and the deploy script waits for the new release to appear there.
A public health endpoint lets anonymous callers make your dependencies do work, so decide what one call may trigger. Via Ottawa, a guide to local businesses across Ottawa that we build and run, remembers the result of its probes briefly, collapses a burst of requests into one round of probes and gives every probe a timeout. A monitor polling every second therefore cannot add load to the database it reports on, and a dependency that never answers shows up as degraded instead of hanging the check. Good Cleaner Co. answers "is email working?" from its own outbox instead of connecting to the mail server, because its readiness endpoint is public and an anonymous caller could otherwise trigger repeated sign-in attempts against the mailbox. The outbox also shows whether queued mail is actually leaving, which a connection test cannot, and a stuck delivery marks the site degraded, not down.
Which tools should you use?
Choose by three tests: it accepts OpenTelemetry's OTLP, so you can change your mind later; you can export your own data; and you can predict the billing unit. The table lists tools whose own documentation, read for this guide in December 2026, supports the description.
| Tool | What its documentation says |
|---|---|
| Prometheus | An open-source monitoring and alerting toolkit that stores metrics as labelled time series |
| Grafana Loki | A log store that indexes only the labels on each stream, not the text; Grafana is its query and display layer |
| Jaeger | A distributed tracing platform; v2, released in November 2024, is built on the OpenTelemetry Collector |
| Azure Monitor Application Insights | Managed: uses OpenTelemetry to collect telemetry in supported scenarios |
| Amazon CloudWatch | Managed: OTLP endpoints for logs, metrics and traces, over HTTP only, not gRPC |
| Google Cloud Observability | Managed: a Telemetry API that implements OTLP |
Self-hosting trades money for attention; a managed platform trades the other way. Either way, emit OTLP at the edge of your system, so the backend can change without re-instrumenting your code.
What should a small team do first?
Work through these in order, and stop when the next step costs more than the risk it removes.
- Name the journeys. List the three that matter, such as finding a page, signing in and completing an order, and write the good event for each.
- Check each one from outside. One synthetic check per journey, from more than one region, plus expiry alerts that reach two people.
- Fix the logs. One JSON object per line with the request ID, route template and error code, and the OWASP exclusions applied in one shared logger.
- Add RED metrics per route template, with duration in buckets, and USE numbers for the host and database.
- Write one SLO and its policy. Take the first SLI from logs you already have, and start loose.
- Wire two alerts and a heartbeat. A fast-burn page and a slow-burn ticket on that SLO, a floor for quiet hours, and an always-firing alert watched from outside.
- Add traces where a request crosses services. Use zero-code instrumentation if your language has it, and skip sampling until volume demands it.
- Add real user data. Core Web Vitals and browser errors, sent with route templates to an endpoint with an allow-list and its own rate limit.
- Review the bill monthly and rehearse. List the biggest series, log sources and trace volumes, then plant a fault in staging and see if the signals lead you to it.
If you would rather hand this over, our hosting and maintenance service covers uptime and key-journey checks; certificate, domain and DNS expiry alerts; and error, latency and saturation metrics. Each incident ends with a written note of cause, fix and prevention. Cover outside business hours is arranged in the agreement. Cloud transformation hands a platform over with metrics, logs and traces, SLOs and alerting in place, and custom software development ships with synthetic checks, an alert per dependency and the release ID confirmed from production.


