LinkMesh

Search docs, blog and changelog

ENDE
LinkMeshObservability Data Collection Management
ObservabilityOpenTelemetry

Monitoring vs Observability

Alerts for the questions you expected. Evidence for the ones you did not.

linkmesh.io
Philippe BraxmeierPhilippe Braxmeier← Back to blog
11 min read

Monitoring vs observability is often framed as old versus new, as if one replaced the other. It does not. Monitoring tells you that something you expected to go wrong has gone wrong. Observability is what lets you find out why, including for failures nobody expected. Most teams need both, and the second takes more than a new tool.

This post shows the difference in one worked example, names the data that makes the difference, and lays out what you have to build to get from one to the other.

Who this guide is for

Infrastructure, platform and operations teams that run monitoring today, with Nagios, Checkmk, Zabbix or Prometheus alerts, and are being asked for observability on top. Prerequisites: none beyond knowing what your current monitoring does.

Monitoring vs observability, in short

Monitoring watches for conditions someone defined in advance. Somebody decided that a filesystem that is more than 90 % full matters, or that a p95 latency above one second is a problem, and wrote a check for it. When the condition is met, you get an alert. A check is a question with a prepared answer.

Observability is a property of a system, not a tool. The term comes from control theory and describes how well you can work out what is happening inside a system from the data it emits. In practice it means you can ask a question during an incident that nobody prepared, and get an answer without shipping new code or adding a check first.

Monitoring Observability
Question it answers Is a known condition out of bounds? Why is the system behaving this way?
When the question is written In advance, as a check or a threshold During the investigation, as a query
Data it works on States and aggregated metrics Traces, logs and metrics that share context
What you get An alert An explanation
Where it stops At a failure nobody imagined At context that was never collected
What drives the cost The number of hosts and checks The volume and detail of the data

The row to remember is “Where it stops”. Monitoring is silent about a failure that is new. Observability is silent when the data arrives without the context a question needs.

One alert, three questions nobody wrote down

Take a billing service. At 02:40 an alert fires: the p95 latency of billing-api has been above one second for ten minutes. CPU is at 35 %, the error rate is flat, and every other check is green.

Monitoring has done its job. It noticed, and it woke the right person. It has nothing more to say, because nobody wrote a check for what comes next. The engineer on call now has three questions:

  1. Is it slow for everyone? Latency broken down by tenant shows three tenants at 0.3 to 0.4 seconds and one at 6.4 seconds.
  2. Where does the time go? One slow request of that tenant, opened as a trace, spends 6.1 of its 6.4 seconds rendering a PDF, and 5.8 of those in 412 calls to the pricing service, made one after another.
  3. Why is that happening? The log records of that same request say price cache miss 412 times. Every price lookup goes to the pricing service and not to the cache, and this tenant’s invoices have hundreds of line items.

A monitoring alert at the top: the p95 latency of a service called billing-api has been above one second for ten minutes, while the CPU and error-rate checks are OK. Below it, three questions asked during the incident, each answered by a different signal. Question 1, is it slow for everyone, is answered by metrics broken down by tenant: three tenants sit at 0.3 to 0.4 seconds and one, tenant-c, at 6.4 seconds. Question 2, where does the time go, is answered by one trace: of 6.4 seconds in billing-api, 6.1 are spent in a render-pdf span and 5.8 in 412 calls to a pricing service, made one after another. Question 3, why is that happening, is answered by the log records that carry the trace ID: the same warning, price cache miss, 412 times. No dashboard existed for any of the three questions. They could be asked because every record already carried a tenant attribute and a trace ID.

Figure 1. The alert is monitoring. The three questions after it are observability, and each one is answered by a different signal.

With monitoring alone, the same three answers come from SSH, grep and a good guess. That works, but it depends on who is on call that night.

Look at what made the answers possible. Nobody had built a dashboard for latency by tenant. The question could be asked anyway, because every request already carried a tenant attribute, every log record carried the trace ID of its request, and the calls between services were recorded as spans. The data was collected with its context before anyone knew which question would matter. That sentence is the practical difference between the two.

The three signals, and what ties them together

Observability data is usually described as three signals:

  • Metrics are numbers over time: request rate, latency percentiles, queue depth. They are cheap to keep and show that something changed, and when.
  • Traces record the path of one request across services as a tree of timed spans. They show where the time went.
  • Logs are timestamped events with detail. They show what the code was doing at that moment.

Collecting all three does not make a system observable. Three tools that each hold one signal, with different names for the same host and no shared identifiers, are three monitoring tools. What turns them into something you can investigate with is context that all of them share:

  • Resource attributes that mean the same thing everywhere, such as service.name, service.version and host.name.
  • Trace context on every signal. A log record that carries the trace ID of its request can be found from the trace, and the trace from the log.
  • Attributes from your own domain, such as a tenant or an order type. Incident questions are usually about these.

A log record with that context looks like this, simplified:

{
  "time": "2026-11-12T02:41:07.318Z",
  "severity": "WARN",
  "body": "price cache miss",
  "trace_id": "9c1e4fa2b7d04c6e8a5f3d2c1b0a9e87",
  "span_id": "5b8f2a1c9d3e4f60",
  "resource": {
    "service.name": "billing-api",
    "service.version": "4.12.0",
    "host.name": "app-03"
  },
  "attributes": {
    "tenant.id": "tenant-c",
    "sku": "4471"
  }
}

This is what OpenTelemetry standardises: one data model for the three signals, common names for common attributes (the semantic conventions), and context propagation, which carries the trace ID with the request from service to service.

What observability is built from

No backend can answer a question about data that never reached it, or that arrived without context. So observability is built, in three parts:

  1. Instrumentation at the source. Applications emit traces, metrics and logs through an OpenTelemetry SDK or a zero-code agent. For JVM services this needs no code change, see the OpenTelemetry Java agent in production. Hosts, Kubernetes and cloud services are read by receivers in the Collector itself.
  2. A collection layer. OpenTelemetry Collectors sit between the sources and the backends. They receive the data, add the shared attributes, drop what nobody will read, mask personal data and send each signal where it belongs. This layer is the telemetry pipeline.
  3. Backends that store and query. One per signal, or one platform for all three. OpenTelemetry covers collection and transport, not storage and dashboards. What OpenTelemetry can and cannot replace draws that line.

A three-column architecture. Sources on the left: applications instrumented with an OpenTelemetry SDK or a zero-code agent that send OTLP, hosts and Kubernetes that deliver metrics and container and file logs, and cloud services that deliver metrics and logs from provider APIs. In the middle, an OpenTelemetry Collector sits between every source and every backend and does four jobs: it enriches records with service, host and Kubernetes metadata, reduces volume by dropping noise and sampling traces, protects by masking personal data before export, and routes each signal to the backend that fits. On the right: a metrics backend such as Prometheus or Mimir, a log backend such as Loki or Elasticsearch, and a trace backend such as Tempo or Jaeger, or one platform that stores all three. Below the Collector, a LinkMesh control plane manages the Collector configuration over OpAMP. Configuration flows to the Collectors. Telemetry never passes through LinkMesh.

Figure 2. Sources send to Collectors, Collectors send to backends. The control plane manages configuration and never sees the telemetry.

Because applications send OTLP to a Collector and not to a vendor’s agent, the choice of backend becomes a routing decision. You can change it later, or send to several backends at once, without touching the applications again.

The layer most plans leave out

The backend usually gets the budget and the attention. Whether the investigation in the example works at all is decided earlier, in the collection layer:

  • Consistency. If half the services report service.name and the other half app, every breakdown comes in two halves. Names have to be checked where the data passes, not requested in a wiki. See enforcing semantic conventions across a fleet.
  • Volume. Check results are small. Traces and logs for every request are not, and many backends bill by volume. What to keep, sample and drop is decided in the Collector, before the data is billed.
  • Sensitive data. Richer telemetry contains more personal data. Masking a field before it leaves your network is easier than deleting it from a backend afterwards. See masking PII in logs.
  • The fleet itself. A Collector on every host means as many configuration files as hosts, and they drift apart. That is the subject of our guide to OpenTelemetry Collector management.

This is the layer LinkMesh manages. It is a self-hosted control plane for OpenTelemetry Collectors. You define sources, processing and routes once, centrally. LinkMesh renders the configuration and rolls it out to the right Collectors over OpAMP, and it shows which configuration each one actually applied. Telemetry never flows through LinkMesh. It goes from your Collectors straight to your backends.

The LinkMesh routing view with Collectors on the left, destinations on the right, and the live record rate on every route between them.

From monitoring to observability, step by step

  1. Keep your alerts. Observability does not replace the pager. A threshold check is still the cheapest way to learn that something is wrong.
  2. Pick one service where alerts regularly end in guesswork. Do not start with the whole estate.
  3. Instrument that service. Traces first, and the trace ID in its logs.
  4. Agree on a short list of attributes. Service, environment and version, plus one or two from your own domain.
  5. Put a Collector in the path and route to a backend you can query.
  6. Link the alert to the evidence. Put the link to the trace and log view into the notification, so the alert opens the investigation.
  7. Then widen, one service at a time. The pipeline and the backend already exist.

Three of our posts walk this path from a specific starting point: from Checkmk to observability, monitoring vs observability on OpenStack and from monitoring to observability in regulated Swiss IT.

The honest trade-offs

  • It costs more than monitoring. More data means more storage and a higher bill. Plan the volume control at the start, not after the first invoice.
  • Traces need developers. Logs and infrastructure metrics are an operations task. Tracing means instrumenting applications, and that is a roadmap conversation with the teams that own them.
  • Detail on metrics is expensive. An attribute with thousands of values, such as a tenant or a user, multiplies the number of time series. With a few dozen tenants, the breakdown in the example works on a metric. With thousands, put the tenant on spans and logs and run the breakdown there.
  • Sampling removes evidence. Keeping every trace is rarely affordable, and what you drop cannot be queried later. Keep errors and slow requests and sample the rest, as described in tail sampling in OpenTelemetry.
  • It is one more layer to run. Collectors are infrastructure with their own availability, upgrades and configuration.
  • It does not find problems for you. Observability makes questions answerable. Someone still has to ask them.
Building the collection layer for observability?

LinkMesh is a self-hosted control plane for OpenTelemetry Collectors: enrol Collectors, build pipelines centrally and roll configuration out over OpAMP, with a versioned record of what each node runs. Telemetry never flows through LinkMesh. It stays on your infrastructure. See the features, or set one up in a few minutes.