Skip to content

14:22:25.893TRACE 9f3e2a1c7 hops · 41.2 s in P3

Follow one event through every hop of the pipeline.

Tracewell traces each record from produce to commit across Kafka, Redpanda and Kinesis, with the time spent at every hop. When a partition falls behind, you see the offset it stuck on and the record that stuck it.

group lag
0
consumed
0.0/s
generation
14
capture clock
14:22:07.183

orders.v3 · 6 partitions, RF 3, retention 7 d · lag, 30 s

committednot yet readin lagpoisontraced

    A live simulation running in this page. Partition 3 carries a hot key, so its consumer falls behind. Click any record on a partition to open its trace, inject a record with an unknown schema id, or stop a consumer to watch a cooperative rebalance move only its partitions.

    READY0 broker config changes

    Trace your first event in ten minutes.

    Free for 10 million events a month. No card, no write ACLs.

    GET /product200 OK7 capabilities

    Product

    One trace per event, lag per partition, rebalances on a timeline. Here is what it does, how you add it, and what it costs your pipeline.

    14:22:27.310INFOconsole/product7 capabilities, all keyed by topic, partition and offset

    Built around how logs actually behave

    Partitions, offsets, groups and generations are the nouns you already debug with. Tracewell keeps them first-class instead of flattening everything into service maps.

    01

    One trace per event, across every hop

    The SDK writes a W3C traceparent into the record headers on produce and reads it back on fetch. Each hop becomes a span: produce, broker append, time sitting in the partition, poll, your handler, the sink write, the commit. Stream processors that copy headers keep the chain intact.

    Kafka Streams, Flink 1.18+, Kinesis Data Streams, Debezium source records

    02

    Lag per partition, in offsets and in seconds

    Offset lag tells you how many records are waiting. Time lag tells you how stale the sink is. Tracewell reports both for every partition of every group, keeps 30 days of history, and alerts on the slope instead of a fixed threshold, so a hot key on one partition shows up before the group total moves.

    Consumer groups, Kafka Connect sink tasks, Kinesis shards per iterator age

    03

    Rebalances on a timeline

    Every generation is recorded with who joined, who left, which partitions were revoked and how long processing stopped. Compare eager and cooperative-sticky assignors on your own traffic, and see when max.poll.interval.ms kicked a slow member out.

    range, roundrobin, sticky, cooperative-sticky, KIP-848 consumer protocol

    04

    Find the poison message, then move it

    When a partition’s committed offset stops advancing while its log end keeps growing, Tracewell names the offset, the exception and the schema id. Route it to a dead-letter topic with the original headers plus tw-error-class and tw-original-offset, and the group resumes.

    DLQ routing from the SDK or from the console, with an audit entry for each move

    05

    Replay a slice of a partition, safely

    Pick a partition and an offset range, and Tracewell re-produces those records to a scratch topic or feeds a shadow consumer group. It is rate-limited and idempotent. Rewinding the production group’s committed offsets needs a second approver and shows the exact offset diff first.

    Range by offset or by timestamp; dry run lists record count and bytes

    06

    Understands exactly-once

    Transactional producers write records that may later be aborted. Tracewell marks aborted batches, shows the last stable offset next to the high watermark, and computes lag the way a read_committed consumer actually experiences it, so open transactions do not look like a stuck consumer.

    transactional.id fencing events, producer epoch bumps, hanging transactions

    07

    Decodes with your schema registry

    Payloads are decoded by the schema id in the wire format, against your registry, only when you open a record. A record whose id the registry does not know, or whose schema breaks the subject’s compatibility rule, is flagged on the trace instead of failing silently in a consumer.

    Avro, Protobuf, JSON Schema; Confluent-compatible registries, Apicurio, AWS Glue

    14:22:26.104INFObench/hops8 hops, 5 runs each, baseline uninstrumented

    What tracing costs, measured per hop

    Every traced hop adds a header write or read and one span. We measured the added latency against an uninstrumented baseline on the same rig, same records, same runs. The harness ships in the SDK repo under bench/hops, so you can rerun it against your own brokers.

    Added latency per hop, p99, in microseconds. Bar is the median of 5 runs; whisker spans the fastest and slowest run.

    µs added per hop, linear scale from zero

    End to end, the whole pipeline

    ThroughputBaseline p99Traced p99Consumer CPU
    50k ev/s11.8 ms11.9 ms+0.6%
    200k ev/s14.2 ms14.4 ms+1.8%
    1M ev/s23.9 ms24.4 ms+3.1%
    • 1.92M → 1.87M ev/s

      sustained ceiling at 100% sampling, a 2.6% drop. At 10% head sampling the drop is 0.5%.

    • +68 bytes per record

      for the traceparent header and its key. Spans leave the process in batches, never inside your records.

    • 0 extra broker round trips.

      Lag and rebalance data come from the collector polling group offsets, not from your clients.

    Rig: 3 brokers on i4i.2xlarge, Kafka 3.8.0 in KRaft mode and Redpanda 24.2, clients on c7i.4xlarge in the same AZ. 1 KiB records, 24 partitions, acks=all, linger.ms=5, 30-minute runs repeated 5 times, first 3 minutes discarded as warm-up.

    14:22:28.002INFOsdk/hooksfranz-go 1.17, kafkajs 2.2, confluent-kafka 2.5, Java agent 2.14

    Instrument the client you already run

    Keep your client library. Tracewell hooks into franz-go, kafkajs and confluent-kafka-python rather than replacing them, and the Java agent attaches without code changes.

      GET /docs200 OKv2.14.0

      Docs

      The quickstart, exactly as it ships, and every release since September. Ten minutes from helm install to your first trace.

      14:22:29.417INFOdocs/getting-started5 steps, 0 broker config changes

      From helm install to a trace in ten minutes

      This is the first page of the docs, unedited. None of the five steps touch your brokers’ configuration.

      GET /pricing200 OKUSD

      Pricing

      Pay for traced events and how long you keep them. Lag, rebalance and offset data stay free on every plan.

      14:22:30.088INFObilling/plansprices in USD, lag and offset data free on every plan

      Priced by events traced and days kept

      Lag, rebalance and offset data are free on every plan. You pay for traced events and how long their spans are kept.

      Plan comparison

        Estimate your bill

        1 million20 billion
        Retention

        Tip: head sampling at 10% traces one event in ten end to end, and still counts every offset for lag.

        14:22:31.250INFOrelease/notesSDKs, collector and console ship on one version number. Releases go out on Wednesdays.

        Changelog, newest first

        1. v2.14.0
          • AddedKinesis enhanced fan-out consumers are traced per shard, with iterator age shown as time lag.
          • AddedReplay can be capped by bytes per second as well as records per second.
          • FixedTime lag was over-reported for topics using LogAppendTime when brokers and producers disagreed on clock by more than 2 s.
        2. v2.13.2
          • FixedA member that rejoined within session.timeout.ms split one cooperative-sticky generation into two on the rebalance timeline.
          • FixedPython SDK leaked one thread per Consumer.close() under gevent.
        3. v2.13.0
          • AddedPoison finder groups stalled offsets by exception class and schema id, across partitions and groups.
          • ChangedDLQ routing now keeps every original header and adds tw-error-class, tw-error-message and tw-original-offset.
        4. v2.12.0
          • AddedTransaction awareness: aborted batches are shaded, the last stable offset is drawn next to the high watermark, and hanging transactions raise an alert after transaction.timeout.ms.
          • ChangedGo SDK requires franz-go 1.16 or newer.

        Older releases, back to v1.0.0 in March 2024, are in the docs under /changelog.

        14:22:32.006WARNcollector/authno ingest token configured for this cluster

        Attach to a cluster this afternoon

        The free plan traces 10 million events a month with three days of retention. You need a cluster you can grant read-only ACLs on and about ten minutes.

        • PlatformKafka 2.8 or newer, Redpanda 23.1 or newer, Amazon MSK, Confluent Cloud, or Kinesis Data Streams
        • CollectorKubernetes 1.26+ with Helm 3, or the single binary on any Linux host with 1 vCPU and 512 MiB
        • PermissionsDescribe on cluster and groups. Read on topics only if you want payload previews

        No card needed. The collector never asks for Write or Alter ACLs.

        GET /company200 OK14 people

        Company

        A small team in Port Averill, Oregon, that got tired of debugging consumer lag with grep and a stopwatch.

        14:22:33.118INFOcompany/storyfounded 2023, v1.0.0 shipped March 2024

        Built by people who carried the pager

        Ines and Rafe met on the streaming team of a logistics company, where a single hot key on one partition could hold up a warehouse for an hour. Every incident started the same way: someone tailing logs on six consumers, trying to guess which record had stuck.

        In the spring of 2023 they wrote a small collector that read group offsets and stitched record headers into traces. It found a poison message in four minutes that had taken two engineers most of a night. They left to build it properly, and v1.0.0 shipped in March 2024.

        Tracewell is still independent and still small. Releases go out on Wednesdays, the changelog is public, and the people who answer support tickets are the people who write the code.

        1. First collector prototype, run against one Kafka cluster
        2. v1.0.0: traces, lag per partition, rebalance timeline
        3. Poison finder and DLQ routing; Redpanda and Kinesis support
        4. SOC 2 Type II audit period closes
        5. v2.14.0, Kinesis enhanced fan-out tracing

        14:22:33.420INFOcompany/team14 members, 9 engineers, 1 on call at all times

        The people behind the pager

        • Ines Halvorsen

          co-founder · CEO

          Ran platform on-call for six years. Still reads every support ticket that mentions a rebalance.

        • Rafe Moreno

          co-founder · CTO

          Wrote the first collector. Owns the trace stitcher and the replay engine.

        • Juno Takahashi

          head of SDKs

          Maintains the Go, TypeScript, Python and Java hooks, and the bench/hops harness.

        • Calla Brennan

          support lead

          Runs the support desk and the on-call rota. Answers in hours, not days.

        Plus five more engineers, a designer, a technical writer, an operations lead and a part-time security advisor. About half of us work from the Port Averill office; the rest are spread across US and EU time zones.

        14:22:34.006INFOcompany/contactengineers answer, Mon to Fri 06:00 to 18:00 Pacific

        Talk to an engineer

        PELLOW LANE DOCK ST Averill River 41 PELLOW LANE 2nd floor, above the bike shop
        Street door is to the left of the bike shop. Visitors: ring “Tracewell”, lift to 2.

        An engineer replies, usually the same working day.