Logic Foundry

Build with understanding.

How LinkedIn Connects User Actions to Backend Traces with OpenTelemetry

Reported by InfoQ on November 12, 2026.

LinkedIn has built an OpenTelemetry-based platform that connects interactions in its iOS, Android and web apps to the backend services handling them. As InfoQ reports, the aim is to close a gap between client analytics—which can show a click or an error—and distributed traces, which show what happened inside services. Previously, engineers had to correlate data from separate systems manually.

The key design choice is pageForestId. Each request retains its OpenTelemetry traceId, while pageForestId groups related requests from the same page context. An engineer can therefore inspect an individual request or follow the wider set of activity behind a user-visible problem.

LinkedIn wraps and extends standard OpenTelemetry SDKs for its mobile and web clients and its Java, Python, Go and Rust backend services. Client and server applications produce spans, and trace context propagates with requests. Common HTTP and gRPC paths are instrumented automatically; teams can add spans for important business operations. Telemetry travels through Apache Kafka and is stored in ClickHouse, where pageForestId, traceId and timestamps support correlation.

Sampling and data handling are central constraints. LinkedIn uses coordinated head-based sampling so related client and server activity follows consistent sampling decisions. An anonymized user identifier helps maintain that consistency across a user journey. The platform also separates experience-quality telemetry from lower-value debugging data; LinkedIn estimates that as much as 90% of some backend trace data may be debugging-level data.

On mobile, spans are batched, with telemetry flushed when an app moves to the background to account for suspension or termination. Attribute allowlists, blocklists and redaction restrict what can enter traces, reducing the risk of exposing sensitive user or application information.

The approach is not a claim that existing tracing and monitoring products cannot connect frontend and backend data. Its distinguishing implementation choices are OpenTelemetry as a shared instrumentation foundation, pageForestId as a grouping layer above individual traces, and a Kafka–ClickHouse ingestion and storage pipeline under LinkedIn’s control.