An OpenTelemetry backend receives, stores and serves telemetry for investigation and monitoring. Instrumentation records traces, metrics and logs. The OpenTelemetry Protocol, or OTLP, carries those signals. A Collector can receive and process them before forwarding them to a backend that makes historical data available to query. The guide to comparing logs, metrics and traces gives operators a starting point for deciding which signal to inspect first when a request slows down.
Follow one request through the system
A checkout API records a server span. The database client records a child span. A structured application log carries the request trace ID. The service also records request duration in a histogram. These records share a service name and environment. The traces show the request path, the log adds detail about a specific event, and the histogram summarizes latency across many requests.
In a typical setup the SDK exports to a Collector. OpenTelemetry Collector pipelines have receivers, optional processors and exporters. A team can use this layer to batch traffic, apply sampling policies or remove attributes before data reaches a destination. A service can also send OTLP directly to a backend that exposes a compatible endpoint. A direct setup removes a component for the service team to operate. A central Collector provides a place to enforce shared routing and data handling.
What to check before picking a backend
| Requirement | How to check it |
|---|---|
| Signal support | Send a trace, a structured log and the metric instruments your alerts depend on |
| Correlation | Find a log through its trace ID and follow a trace across two services |
| Retention | Compare queryability, retention and deletion per signal |
| Cardinality | Test real numbers of services, deployments, routes and other dimensions |
| Query workflow | Recreate a recurring incident investigation with your own telemetry |
| Isolation | Verify ingest credentials and access controls for two teams or environments |
| Delivery under load | Observe queues, drops, lag and backpressure while ingesting a normal burst |
Check each signal independently. Metric temporality, histogram handling and aggregation affect the values an on-call engineer sees. A trace backend may render parent-child relationships beautifully while logs in a separate store require explicit joins. Transport support is only one layer of the evaluation.
Send an OTLP sample to RawTree
RawTree’s OpenTelemetry app provides an OTLP HTTP endpoint. Use the RawTree Collector configuration to set up the otlphttp exporter, and supply the API key via the Collector environment. Wire traces, logs and metrics through separate pipelines. RawTree documents traces, logs and metrics as the default tables, with signal-specific headers available for custom table names. Map separate projects or environments deliberately so test traffic stays easy to isolate.
For a first check, trigger a request with a recognizable route in a test service. Find its spans, extract the trace ID and locate the matching log. Check that the metric arrived with the expected units and dimensions. Record both timestamps if the backend exposes event time and ingest time. If an event is missing, establish whether the SDK produced it, whether the Collector accepted and exported it, and whether the backend wrote it under the expected table and service name.
Test the question your team actually asks
An on-call engineer often needs to know which release, route and dependency explain a sudden latency shift. Recreate that investigation end to end. Start from a time window and service, compare releases, select an affected trace and inspect its logs. Evaluate how long each step takes and which data remains available a week later. That test connects the transport and storage decisions to the experience the team will use every day.
Include operating cost in the comparison
Build a small model with incoming bytes, percentage sampled, retention by signal and frequency of the investigative queries. Metrics workloads may have a small payload per observation but many series after a dimension is added. Traces and logs often arrive in bursts. Test your expected shape, including a deployment that emits a new set of attributes, before comparing prices or resource requirements.
Choose which team owns each failure boundary. The application owner can check whether the SDK emitted the signal. The telemetry team can see whether receivers and exporters accepted it. The backend owner can investigate indexing, ingestion lag or a query that excludes the tenant. Put those steps in the alert runbook so an empty dashboard has a concrete diagnosis path.
When migrating, compare one bounded time window in the two destinations. Use the same sampling policy and check event and ingest times separately. Verify cardinality and dimensions with a live histogram, then compare a handful of known trace IDs. That evidence makes it easier to move dashboards in stages.
What actually happens inside the backend
A backend needs a way to ingest the protocol it accepts, a place to store the result and an interface to retrieve it. A traces view needs to resolve IDs and parent relationships. A logs view may let operators search timestamps, attributes and messages. A metrics view must account for units, aggregation and the behavior of time series. A platform can implement all three together or send different signals to different stores.
The benefit of storing related signals together is easier correlation when identifiers survive instrumentation and processing. For example, an operator can open a slow request and look for messages carrying its trace ID. That result still depends on the application emitting the ID and both routes preserving it. Test this with a request across two services and one worker, especially if an asynchronous boundary is involved. An identical service name on two records does not establish that they refer to the same request.
Plan how application attributes map to the way an engineer works. A release should map to an artifact that can be rolled back. A route should have a stable label across deployments. A dependency name should help someone find its owner. If labels have inconsistent shapes, a better search interface will still return fragmented results.
Choose a transport and a place for shared processing
Small deployments can send OTLP to a backend directly. The code and configuration are straightforward when one service has one destination and the backend accepts the chosen OTLP transport. A Collector becomes useful for shared policy, for routing to several destinations or for moving credentials out of individual service configurations. Choose the pattern according to who operates each stage and what happens when it fails.
In a multi-service setup, developers can send telemetry to a Collector close to the application, then use a gateway Collector for central processing. The right topology depends on the network and maintenance constraints. Keep its ownership clear so an exporter failure has a place to be diagnosed. For a first test, run a normal request with a path and timestamp you can identify, and inspect both acceptance and delivery before changing sampling or batching.
Try one controlled interruption. Pause a test destination, observe the exporter behavior and restore it. Record whether data was queued, retried or dropped, then compare the results available after recovery. A successful test with the destination continuously available tells you less about what operators will see during a real failure.
Compare collection coverage with diagnostic coverage
Use a small checklist that maps the question to the signal. To see which routes changed latency, begin with an aggregate metric broken down by route and release. To explain one slow request, open a trace that shows the work performed. To identify the specific state a service reported, find its log messages. That sequence can be tested without deploying a new dashboard. The test should include a missing log or a trace filtered by sampling so the operator can recognize the limitation.
Probe coverage by signal with representative data. Include a histogram with known units, counter increments, a log with trace context, and spans across process boundaries. Confirm that the backend exposes the fields the alert query expects. If you change how a metric is aggregated, compare an interval from the same source in both configurations rather than assuming the two views have the same semantics.
Make the backend choice with one shared exercise
Give each candidate the same service, traffic and time window. Ask two engineers to reproduce a recent diagnosis using a synthetic equivalent. Time how long they spend locating the service and release, understanding the slow operation and finding its dependency. Record any setup work needed to produce the answer, such as custom indexing, transformations or a separate dashboard.
Finish with operational questions. Determine how much history remains queryable after a week, how to isolate test data, who can replay an export and how to recover when a destination is temporarily unavailable. The backend choice should make the team’s common investigations faster while giving operators a predictable path when telemetry is late, missing or too expensive.