What is observability?

Monitoring tells you that something is wrong. Observability is the ability to work out why, including for failures nobody predicted, by asking new questions of the data your systems already emit.

How is observability different from monitoring?

Monitoring checks known conditions: is the disk full, is the site answering, is the error rate above its threshold. Observability is a property of a system: how well its outputs let you understand its internal state. A highly observable service records enough context with each request that, when an odd failure appears, such as checkout being slow only for one payment method in one country, you can slice the data and find the cause without adding new code first. Good monitoring is built on top of good observability.

What are the three kinds of telemetry?

SignalWhat it isBest forCost driver
MetricsNumbers over time, such as requests per secondDashboards, alerts, trendsNumber of label combinations
LogsTimestamped records of eventsDetail on specific events and errorsVolume per day
TracesThe path of one request across servicesFinding where time is spentNumber of spans kept

Each answers a different question. Metrics tell you latency rose at 14:02. Traces show the slow part was a call to the inventory service. Logs from that service show a lock timeout on a specific table. Linking the three is what makes diagnosis fast.

How do I link metrics, logs and traces?

Share identifiers. Give every incoming request a trace ID, pass it to downstream services in headers, and write it into every log line. Metrics can carry exemplars that point to a sample trace. Then a spike on a dashboard leads to a trace, and the trace leads to the exact log lines. Structured logs in JSON make this searchable.

{"ts":"2026-12-03T14:02:11.482Z","level":"error","svc":"inventory","trace_id":"4bf92f3577b34da6a3ce929d0e0e4736","msg":"lock timeout","table":"stock_levels","wait_ms":5000}

What is OpenTelemetry?

An open standard and set of libraries for producing metrics, logs and traces in a vendor-neutral way. You instrument applications once with its SDKs, many frameworks have automatic instrumentation, and an OpenTelemetry Collector receives the data and forwards it to whichever back ends you run. On your own servers that might be Prometheus for metrics, Loki or OpenSearch for logs and Jaeger or Grafana Tempo for traces.

receivers:
  otlp:
    protocols: { grpc: { endpoint: 10.20.0.5:4317 } }
processors:
  batch: {}
  probabilistic_sampler: { sampling_percentage: 10 }
exporters:
  otlp/tempo: { endpoint: 10.20.0.6:4317, tls: { insecure: true } }
service:
  pipelines:
    traces: { receivers: [otlp], processors: [probabilistic_sampler, batch], exporters: [otlp/tempo] }

The collector listens on a WireGuard address here; since we do not sell a private network between servers, telemetry between machines should travel inside a tunnel or over TLS.

Why does cardinality matter?

Because each unique combination of metric labels is a separate time series that costs memory and disk. A label for HTTP method and status code is fine; a label for user ID or full URL can create millions of series and overwhelm the store. Keep high-detail identifiers in logs and traces, where they belong, and keep metric labels to small, bounded sets.

Should I keep every trace?

Usually not. Head sampling keeps a fixed share of traces, such as 10 percent, which is cheap and predictable. Tail sampling decides after a trace completes, keeping all slow or failed ones and a sample of the rest, which is more useful but needs the collector to hold traces in memory briefly. Start with head sampling, add tail sampling for errors once volumes are known.

What machine does a self-hosted telemetry stack call for?

Size each store separately. Metrics need memory for active series and modest disk; logs and traces need disk most of all. A stack for a few dozen services often runs on one machine such as BUSINESS-2 2024, with 64 GB DDR5; a large log volume belongs on a model with hard disks, such as STORAGE-2 2024. Put the stack in a different data centre from production, so it stays available when production is in trouble. Our Monitoring servers page shows sizing arithmetic for metrics and logs.

Machines for a self-hosted telemetry stack

ModelProcessorCoresMemoryDrivesPortPer month
ESSENTIAL-SAMD Ryzen 7 9700X864 GB2x 512 GB SSD NVMe1 Gbps unmetered$46.20
BUSINESS-2 2024AMD EPYC 4344P864 GB2x 960 GB SSD NVMe3 Gbps unmetered$109.80
BUSINESS-3 2026AMD EPYC 4465P1264 GB2x 960 GB SSD NVMe3 Gbps unmetered$184.20
STORAGE-2 2024AMD EPYC 4344P832 GB2x 960 GB SSD NVMe + 2x 22 TB HDD SAS3 Gbps unmetered$187.80

Related pages

Monitoring servers

Host your own metrics, logs and alerting on a dedicated box: Prometheus retention maths, exporters, Grafana, log storage and watching from another site.

Read more

OpenSearch clusters

Run OpenSearch for search and logs on bare metal: heap and mmap limits, security plugin setup, shard sizing, index state management and node roles.

Read more

Bare metal automation

Treat rented physical machines like code: unattended installs, cloud-init style first boot, configuration management, image pipelines and rebuild drills.

Read more

InfluxDB servers

Run InfluxDB for metrics and sensor data on bare metal: versions 1, 2 and 3 compared, Telegraf collection, retention, cardinality and disk sizing.

Read more

Questions and answers

What is the difference between monitoring and observability?

Monitoring checks known conditions and alerts on them; observability lets you explain unexpected failures from the data systems emit.

What are the three pillars of observability?

Metrics, logs and traces. Each answers a different question, and linking them by trace ID makes diagnosis fast.

What is OpenTelemetry used for?

Instrumenting applications once to produce metrics, logs and traces in a standard format that many back ends accept.

Why should user IDs not be metric labels?

Each unique label value creates a new time series, so unbounded values can create millions and exhaust the metrics store.

Can I host an observability stack on a dedicated server?

Yes. Prometheus, Loki and Tempo or Jaeger run well on one machine for a few dozen services, ideally in another data centre.