Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-tracing-backend

Distributed Tracing Backend Internals (W3C Traceparent, Spans & TraceQL)

7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Distributed Tracing Backend Internals (W3C Traceparent, Spans & TraceQL) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-tracing-backend/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-tracing-backend)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-tracing-backend)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-tracing-backend" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Distributed Tracing Backend Internals (W3C Traceparent, Spans & TraceQL) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Instrumented Fleet"]
  dist_1["Trace Distributor"]
  ing_2[("Ingester Ring")]
  s3_3[("Parquet Trace Blocks")]
  cmp_4["Compactor"]
  qry_5["TraceQL Querier"]
  downstream_6["Downstream & OTel"]
  client_0 -.->|"1. Ship OTLP · OTLP/gRP"| dist_1
  dist_1 -.->|"2. Route by · gRPC"| ing_2
  ing_2 -.->|"3. Flush · S3 API"| s3_3
  cmp_4 -->|"Compact & · Batch"| s3_3
  qry_5 -->|"Scan · Parquet"| s3_3
  s3_3 -.->|"4. Emit / · OTLP/API"| downstream_6

COMPONENT STACK (7)

  • Instrumented FleetSTATELESS
    traceparent header + OTLP
  • Trace DistributorSTATELESS
    Hashes by trace_id -> ingester
  • Ingester RingSTATEFUL
    Buffers live traces in WAL/RAM
  • Parquet Trace BlocksSTATEFUL
    Bloom index + columnar spans on S3
  • CompactorSTATELESS
    Merges blocks + enforces 14d TTL
  • TraceQL QuerierSTATELESS
    Critical-path waterfall +
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Instrumented Fleet → Trace Distributor (Ship OTLP)[OTLP/gRP]
  2. Trace Distributor → Ingester Ring (Route by)[gRPC]
  3. Ingester Ring → Parquet Trace Blocks (Flush)[S3 API]
  4. Compactor → Parquet Trace Blocks (Compact &)[Batch]
  5. TraceQL Querier → Parquet Trace Blocks (Scan)[Parquet]
  6. Parquet Trace Blocks → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →