| 1 | tracer | creates each span and keeps track of the current one | inside every service | trace ID, span ID, parent, start and end time | spans with no parent, each one a trace of its own |
|---|
| 2 | instrumentation | turns framework, HTTP and database calls into spans with standard names | inside every service, as an agent or a library | span names, kinds and attributes | a service with no spans, or raw URL paths as span names |
|---|
| 3 | propagator | carries the trace context across each call | inside every service, on both ends of a call | the traceparent header written out and read back | a CLIENT span with nothing under it, and the callee in a trace of its own |
|---|
| 4 | Kafka instrumentation and span links | carries the context inside a message and ties the consumer’s work to it | checkout’s producer and the email worker’s consumer | the record headers, and a link from the consumer span to the send | email work you can’t trace back to the order that caused it |
|---|
| 5 | sampler | decides when a trace starts whether it is recorded | the SDK of the service that starts the trace | the sampled flag that every later service follows | a sampling ratio set on payments that changes nothing |
|---|
| 6 | batch processor and OTLP exporter | queue finished spans and send them to the agent | inside every service | batch size, send interval, protocol and port | no spans arriving, and export errors in the service’s own log |
|---|
| 7 | Collector agent | receives spans on each node and adds the pod they came from | one pod on every node | its memory limit, the Kubernetes attributes, where spans go next | spans with no pod name, or a log line saying the send queue is full |
|---|
| 8 | load-balancing exporter | sends every span of one trace to the same gateway | inside each agent | which gateway gets a span, by its trace ID | kept traces with parts missing after tail sampling |
|---|
| 9 | tail-sampling gateway | keeps failing traces, slow traces and a share of the rest | a tier of gateway pods | which whole traces are kept, after waiting for their spans | errors missing from Tempo, or traces evicted before a decision at peak |
|---|
| 10 | Tempo | stores kept traces and answers searches | its own pod | recent spans in memory, older ones as blocks, query results | a trace ID that returns nothing |
|---|
| 11 | object storage bucket | holds trace blocks until retention ends | S3, or any store that speaks its API | how many days of traces exist, 14 by default | a storage bill that grows with every day of traces kept |
|---|
| 12 | Grafana | shows traces and links them to metrics and logs | its own pod | the trace view, search, and the jumps between the three | a trace with no way to open its log lines |
|---|
| 13 | span-metrics connector | counts every span into request, error and duration metrics | the gateways, before tail sampling | one series per service, span name, kind and status | error rates that describe the kept sample, not the real traffic |
|---|
| 14 | Prometheus | stores the span metrics and their exemplars | its own pod, receiving OTLP | the series behind alerts and latency graphs | a latency graph with no dots that open a trace |
|---|
| 15 | Loki | stores log lines that carry trace and span IDs | its own pod, fed by the agent | which log lines belong to which span | log lines that can’t be joined to their trace |
|---|
| · | resource | names the service, version and environment that made a span | every service’s SDK settings | service.name, service.version, deployment.environment.name | spans from unknown_service:python3, or two services merged under one name |
|---|
| · | baggage | carries extra values to every service downstream | the baggage header | key–value pairs, which are not span attributes until you copy them | internal values arriving at the card processor |
|---|
| · | semantic conventions | fix span names and attribute keys in every language | every instrumentation library | names such as http.route and db.system.name | a query that finds one language’s spans and misses the rest |
|---|