Jaeger Architecture, and What Has Been Deleted From It

The v1 Pipeline, and Why It Had the Shape It Did

For most of Jaeger's life the data path was: client SDK → jaeger-agent (localhost, UDP Thrift) → jaeger-collector → storage, with an optional Kafka + jaeger-ingester pair spliced between collector and storage.

The Kafka option is the more interesting half, and it is the Collector part's backpressure argument made concrete. Without it, a collector that cannot write to Cassandra fast enough has exactly two choices: block its receivers (which pushes backpressure into your application's export path) or drop spans. With Kafka, the collector's write is to a Kafka partition — cheap, sequential, and sized for burst — and the ingester drains it at whatever rate storage can sustain. A storage slowdown becomes consumer lag instead of data loss. The cost is one more distributed system to operate and an end-to-end latency floor of seconds rather than milliseconds, which matters not at all for traces and enormously for the alerting you are not doing here.

The Agent Is Gone — Precisely

Get this right, because half the tutorials online still tell you to run one:

WhenWhat happened
Sept 2023Deprecation proposal filed (jaegertracing/jaeger#4739) — "deprecate jaeger-agent and in 6 months remove it from the code base"; a deprecation warning was added to the binary (#4749).
v1.63.0 — 10 Nov 2024jaeger-agent removed from distributions (#6081), listed under Breaking Changes. No more binary, no more Docker image. This is the same release announced as "Jaeger v2 is here."
v1.68.0 — 5 Apr 2025Agent source code deleted (#6868, titled "🪦 remove agent code").
31 Dec 2025Jaeger v1 reached end of life. The current release line is v2 (v2.20.0 as of July 2026).

Why did it exist at all? Because in 2016 the alternative was an application thread doing a blocking HTTP POST to a collector somewhere across the network. The agent was a localhost daemon that accepted UDP Thrift on port 6831 — fire-and-forget, no connection, no handshake, no possibility of the export path blocking the request path, and no collector addresses to configure in 23 different services. It also batched, and it was where remote sampling configs were served from.

Every one of those rationales is now served better by an OpenTelemetry Collector running in agent mode — as a sidecar or DaemonSet. It does the same job with a bounded in-memory queue instead of UDP's silent truncation at the MTU, it handles logs and metrics too, and it gives you the filter and span_metrics stages from the What It Costs part at the point in the pipeline where they are cheapest. The deciding argument was blunt: modern OTel SDKs do not implement a UDP exporter and are phasing out Jaeger exporters entirely, so the agent's only input protocol had no remaining clients.

Jaeger v2 Is an OTel Collector Distribution

Released alongside v1.63.0 as v2.0.0 on 10 November 2024 (one commit, "Prepare release 1.63.0/2.0.0"). The headline is not "Jaeger supports OpenTelemetry" — it is that the jaeger binary is a customised OTel Collector build, and Jaeger's own functionality ships as collector extensions, processors and exporters. Practically, Jaeger configuration is now collector configuration:

service:
  extensions: [jaeger_storage, jaeger_query, remote_sampling, healthcheckv2]
  pipelines:
    traces:
      receivers:  [otlp, jaeger]
      processors: [batch, adaptive_sampling]
      exporters:  [jaeger_storage_exporter]

extensions:
  jaeger_query:
    storage: { traces: some_storage, traces_archive: another_storage }
  jaeger_storage:
    backends:
      some_storage:
        cassandra:
          schema: { keyspace: "jaeger_v1_dc1" }
          connection: { servers: ["cassandra:9042"] }
  remote_sampling:
    adaptive:
      sampling_store: some_storage
      initial_sampling_probability: 0.1
      target_samples_per_second: 1.0
    http:        # :5778
    grpc:        # :5779

The consequence people underrate: every collector processor is now available inside Jaeger's own pipeline, including tail_sampling (see Tail-Based Sampling), filter and transform (see What It Costs). You no longer choose between "run a collector" and "run Jaeger"; Jaeger is a collector with storage and a UI bolted on. Supported storage backends are Cassandra, Elasticsearch, OpenSearch, Badger, Kafka, and memory.

The full pipeline, with the optional Kafka buffer and the dependency job
The full pipeline, with the optional Kafka buffer and the dependency job

The Query Service and UI

Read-light by design. It serves: the service list and the operation list (straight from service_names / operation_names_v2, see Trace Storage); find-traces by service + operation + tag k/v + duration range + time window; get-trace-by-ID; trace comparison (structural diff of two traces, invaluable for "this request is slow and that one isn't"); the Monitor tab's RED metrics via a PromQL backend (see What It Costs); and the System Architecture dependency DAG.

Adaptive Sampling — Jaeger's Most Distinctive Feature

Flat 1% head sampling (see Head-Based Sampling) has a structural defect that no amount of tuning fixes: it is uniform in requests, so it is wildly non-uniform in coverage. Your login endpoint at 10,000 QPS contributes 100 traces/s; your refund endpoint at 10 QPS contributes one trace every ten seconds. The endpoint you understand least is the one you have least data for.

Adaptive sampling inverts the target: instead of a fixed probability, you declare a fixed traces per second per operation, and the collector solves for the probability that achieves it. The loop:

The adaptive sampling feedback loop — drawn linearly, it closes at the last node
The adaptive sampling feedback loop — drawn linearly, it closes at the last node
KnobDefaultWhat it actually controls
target_samples_per_second1The goal. Per operation, not per service — this is the whole point.
initial_sampling_probability0.001What a never-before-seen operation gets until the first recalculation.
min_samples_per_second≈0.0167 (1/min)Floor for very-low-QPS operations, so they never fall to zero coverage.
min_sampling_probability1e-5Hard floor; the computed range is [min, 1.0].
calculation_interval1mHow often probabilities are recomputed.
calculation_delay2mLag before a bucket is used — spans arrive late, and computing on an incomplete bucket over-samples.
aggregation_buckets / calculation_buckets10 / 1Throughput history kept in memory, and how many buckets feed the weighted QPS.
delta_tolerance0.3Deadband — don't adjust while within 30% of target. Prevents oscillation.
leader_lease_refresh_interval5sOnly the leader computes probabilities; the lock lives in the leases table (see Trace Storage).

On the SDK side this is the JaegerRemoteSampler, standardised in the OTel trace SDK spec (endpoint, polling interval, initial sampler). The Go contrib implementation defaults to a 60-second refresh, a 10s fetch timeout, and a cap of 256 tracked operations per service — past which new operations fall back to the service-level default, another reason the Span part's low-cardinality span-name rule is load-bearing. Static strategies are the alternative: a JSON file of service_strategies / operation_strategies / default_strategy, served by remote_sampling.file.path and hot-reloaded on change. Without any configuration at all, Jaeger's default is probabilistic at 0.001. Adaptive sampling requires a sampling_store — memory, Cassandra, Badger, Elasticsearch or OpenSearch.

Adaptive sampling equalises traces per operation, so a 10 QPS endpoint and a 10,000 QPS endpoint are both represented — something a flat 1% structurally cannot do. But note what it still is: head-based. The decision is made at the root before anything has happened, so it cannot preferentially keep errors or slow requests. It fixes coverage, not selection. Only the Tail-Based Sampling part fixes selection.

Deployment Sizing

CollectorStateless, scales horizontally. Unless you add tail_sampling (see Tail-Based Sampling) — then it isn't.
IngesterScales to Kafka partition count, not beyond
QueryRead-light — a couple of replicas, effectively always
The bottleneckStorage. Always storage.
SystemWhat it is actually for
JaegerA complete, self-hostable tracing backend with a genuinely good trace UI and the only mature adaptive remote sampling implementation. Choose it when you want full control, already run Cassandra or ES, and want sampling coverage handled for you.
Grafana TempoRetaining very large trace volumes very cheaply on object storage (see Trace Storage), inside a Grafana-centric stack where discovery starts from a metric exemplar or a log line. Choose it when the bill is the constraint and you accept scan-latency search.
ZipkinThe original (Twitter, 2012) and the reason B3 propagation exists (see Context Propagation). Simple, stable, single-JAR, modest scale. Choose it for a small deployment or an existing B3 estate — not for a new large one.
SaaS vendorYou are buying the operational burden away, plus correlation across traces/metrics/logs/profiles and analysis features nobody self-hosts. Choose it when engineer-hours cost more than the invoice — and read the cost part's per-span-vs-per-GB section before signing, because the pricing model will silently rewrite your instrumentation.
  • Guarantees: With the Kafka path enabled, a storage outage degrades to consumer lag rather than span loss, bounded by Kafka retention. With adaptive sampling, every operation the SDK knows about — up to 256 of them — converges toward target_samples_per_second regardless of its traffic volume.
  • Does not guarantee: That errors are kept: adaptive sampling is still head-based (see Head-Based Sampling). That the dependency graph is current or complete — it is a batch job over sampled data. And that a jaeger-agent exists to deploy: it was removed from distributions in v1.63.0 and deleted from the source tree in v1.68.0.