This document provides an overview of the major components that comprise Tempo. Please refer to the examples to see some deployment options.
Accepts spans in multiple formats including Jaeger, OpenTelemetry, Zipkin.
Routes spans to ingesters by hashing the
traceID and using a distributed consistent hash ring.
The distributor uses the receiver layer from the OpenTelemetry Collector. For best performance it is recommended to ingest OTel Proto. For this reason the Grafana Agent uses the otlp exporter/receiver to send spans to Tempo.
Batches traces into blocks, blooms, indexes and flushes to backend. Blocks in the backend are generated in the following layout.
<bucketname> / <tenantID> / <blockID> / <meta.json> . / <bloom> . / <index> . / <data>
The querier is responsible for finding the requested trace id in either the ingesters or the backend storage. It begins by querying the ingesters to see if the id is currently stored there, if not it proceeds to use the bloom and indexes to find the trace in the storage backend.
Traces are exposed via a simple HTTP endpoint:
Compactors stream blocks to and from the backend storage to reduce the total number of blocks.
Tempo Query is also the method by which Grafana queries traces.