What Is Observability Data? Signals, Cardinality, Retention, and Cost
Observability data is the telemetry a system emits about itself: metrics, logs, traces, profiles, and events, each tagged with context such as service, version, and environment. Each signal answers a different question and costs differently to keep. Cardinality, retention, and sampling decide the bill, and shared attributes and trace IDs decide whether the signals connect.
Observability data is telemetry with context
Observability data is what a running system emits about itself: numbers, records, and request histories, each tagged with where it came from. The tags matter as much as the values. A latency number without a service name, version, region, and pod is a number. With them, it is something you can group, filter, and compare during an incident.
This page is about the data itself: its shapes, what each costs to keep, and how the pieces connect. For the practice of using it, see observability in software engineering. For the line between alerting on known failures and investigating new ones, see observability vs monitoring.
The signal types and their shapes
Each signal type answers a different question, and each has a different storage and cost profile.
Metrics
A metric is a named numeric value sampled or aggregated over time: request count, error count, queue depth, a latency histogram. Each unique combination of name and labels is a time series. Metrics are compact and fast to query, which is why alerts and dashboards run on them. The price is that aggregation throws away the individual request. A p99 tells you that something was slow, not which request.
Logs
A log is a timestamped record of a discrete event. Free-text logs are cheap to write and expensive to search. Structured logs, emitted as key-value fields, can be filtered and aggregated like a database. Logs are usually the largest signal by volume and the first one that budgets cut.
Traces
A trace is the path of one request through a system, made of spans. Each span records an operation, its start and duration, its parent, and attributes. Traces answer where the time went and which dependency failed. Because one request can produce dozens of spans, traces are usually sampled.
Profiles
A profile records where code spent resources, such as CPU or memory, at the level of functions and stack frames. It answers why a service is slow when the trace only says which service. Continuous profiling samples production processes all the time at low overhead.
Events
Events here means wide, structured records of something that happened, such as a deploy, a config change, a feature flag flip, or a single request described with many fields. Change events are among the most valuable data in an investigation because so many incidents start with one.
Cardinality: the number that drives the bill
Cardinality is the number of distinct values a label or attribute can take. For metrics, the number of time series is roughly the product of the cardinalities of its labels. A request counter labelled by 20 endpoints, 5 status classes, and 50 pods is 5,000 series. Add a customer ID label with 10,000 values and the same counter becomes 50 million series. Most metrics backends store, index, and bill by active series, so one careless label can multiply cost and slow every query.
High cardinality is not bad in itself. The ability to break down by customer, build, or request ID is exactly what makes investigation fast. The decision is where to put it. Put high-cardinality detail in traces, logs, and wide events, which are stored per record. Keep metric labels bounded, and avoid unbounded values such as user IDs, raw URLs, and timestamps as labels.
Retention, sampling, and cost
Not all data needs to live equally long. A common pattern keeps raw data for days, downsampled metrics for months, and only the aggregates needed for SLO reporting and capacity planning for longer. Logs often split into a short, searchable hot tier and a cheaper archive.
Traces are controlled by sampling. Head sampling decides at the start of a request whether to keep it, which is cheap but blind to whether the request will turn out to be interesting. Tail sampling decides after the request completes, so it can keep every error and slow request and only a fraction of healthy ones. It costs buffering capacity in the collector.
The cost levers, in roughly the order they matter: metric label cardinality, log volume and verbosity, trace sampling rate, and retention period. Choices about the stack built on top are covered in assembling an observability stack.
OpenTelemetry: one way to produce all of it
OpenTelemetry is the open standard for generating and moving telemetry: APIs and SDKs for instrumenting code, a wire protocol called OTLP, a Collector that receives, processes, and exports data, and semantic conventions that standardise attribute names such as service.name and http.response.status_code.
Its documentation lists traces, metrics, logs, and baggage as supported signals, with baggage being context that propagates between services rather than data you store. Profiles are newer. The OpenTelemetry blog announced that the Profiles signal entered public alpha in 2026, with a pprof-compatible data format and an eBPF profiler that runs as a Collector receiver, and stated it should not yet be used for critical production workloads. Events are listed as still in development.
The practical value of OpenTelemetry for data is portability and correlation. Instrumentation stays the same when the backend changes, and shared resource attributes plus trace context let a log line, a span, and a profile sample be joined on the same trace ID.
Correlation is where the value is
Each signal alone answers part of a question. The investigation runs across them: a metric alert shows error rate rising, an exemplar on that metric links to a trace, the trace shows the failing span, the span's trace ID finds the matching log lines, and a profile shows the hot function. That chain only works if every signal carries the same service, version, and environment attributes, and if logs record the trace ID. Getting those few fields consistent is worth more than adding another signal type.
Frequently asked questions
- What is observability data?
- Observability data is the telemetry a running system emits about its own behaviour: metrics, logs, traces, profiles, and events, each tagged with context such as service, version, and environment. Engineers use it to understand what the system is doing, investigate failures they did not anticipate, and measure reliability against objectives without shipping new code to ask each question.
- What are the main types of observability data?
- Metrics are numeric time series for alerting and trends. Logs are timestamped records of discrete events. Traces follow one request across services as a tree of spans. Profiles show which functions consumed CPU or memory. Events record changes and wide per-request detail. Each answers a different question, and they are most useful when they share attributes and trace IDs.
- What is high cardinality in observability data?
- Cardinality is the number of distinct values a label or attribute can take. High-cardinality fields, such as user IDs or request IDs, make data easy to slice during investigations, but as metric labels they multiply the number of time series, which raises storage cost and slows queries. Keep high-cardinality detail in traces, logs, and events instead.
- Does OpenTelemetry support profiles?
- Profiles are the newest OpenTelemetry signal. The project announced in 2026 that the Profiles signal had entered public alpha, with a pprof-compatible format, Collector support, and an eBPF profiler, and said it should not yet be used for critical production workloads. Traces, metrics, and logs are the established signals. Check the OpenTelemetry documentation for current status.