Distributed Trace Viewer for OpenTelemetry, Jaeger and Zipkin
Load a trace file, read the span waterfall, see which spans decided the total time, compare services by self time and search spans by attribute.
Funziona nel tuo browser. I tuoi file non lasciano mai il dispositivo. Scopri come verificarlo
…
Come si usa
- 1Open a trace
Press Open trace JSON, paste the JSON, or press Load sample trace.
- 2Pick the trace
If the file contains several traces, choose one from the Trace list.
- 3Read the waterfall
Scan the bars, collapse branches and click a span to see its attributes and events.
- 4Search spans
Type text or key=value in the search box and tick errors to highlight failing spans.
- 5Check the critical path
Open Critical path to see which spans the request waited for and their share of the total.
- 6Compare services
Open Services and Operations for self time, counts, medians and maximums, then export the CSV.
Informazioni su questo strumento
A distributed trace records one request as it travels through gateways, services, queues and databases, with a span for each piece of work. Tracing back ends show them well, but often you only have a JSON file: attached to a bug report, saved from a test run, exported by the OpenTelemetry collector or downloaded from a Jaeger instance you no longer have access to. This viewer opens such files directly. It draws the classic waterfall with nested spans and timings, marks the critical path that decided the total duration, breaks time down by service and operation, and lets you search spans by name or by attributes such as http.response.status_code=500. Click a span to see its attributes, events and exception logs.
Who this is for
Backend and platform engineers debugging slow or failing requests, SREs reviewing an incident, developers learning OpenTelemetry, and support teams who receive trace files from customers.
Supported files
- OpenTelemetry OTLP/JSON with resourceSpans and scopeSpans, also as JSON lines from the collector file exporter. Trace and span ids in hex or base64 are both read. - Jaeger JSON from the UI's Download JSON button or the `/api/traces/<id>` endpoint, with processes and CHILD_OF references. - Zipkin v2 JSON arrays from `/api/v2/trace/<id>`, including several traces at once.
A file with several traces shows a trace picker with the root span, span count, duration and errors of each.
The waterfall
Each row is a span, indented under its parent and coloured by service. Bars are placed on a shared time axis; failed spans have a red outline and a warning sign. Collapse a span to hide its children, or use Collapse all and expand only the branch you care about.
Critical path and self time
The critical path follows, from the root, the child that finished last before each point in time. It is the chain of work the caller actually waited for, and a black line under each bar shows the part of that span on the path. Self time is a span's duration minus the time covered by its children, which shows where work happened rather than where it was waited on.
Worked example
In the sample checkout trace, POST /checkout takes 412 ms. Its self time is only 19 ms. The critical path runs through CheckoutService/PlaceOrder and PaymentService/Charge to an outgoing POST to the payment provider that alone takes 214 ms and fails with status 402, so the slowness and the error come from the same external call. The currency conversion span ran in parallel with the shipping quote and is not on the path.
Limits
The viewer shows timestamps as recorded, so clock skew between hosts can make a child appear to start before its parent. It does not query a tracing back end or join spans spread across several files. Very large traces with tens of thousands of spans load slowly in a phone browser.
Esempio svolto
Checkout trace: 412 ms total, 19 ms self time in the root; 214 ms of the critical path is one external payment call that returned 402.
In breve
- Categoria: Sviluppo e dati
- Funziona nel browser, senza registrazione né caricamento.
- Le informazioni che inserisci restano sul tuo dispositivo.
- Disponibile in inglese.
- Contenuto rivisto l'ultima volta il:
- Fonte ufficiale: OpenTelemetry Protocol (OTLP) JSON encoding and trace data model; Jaeger and Zipkin v2 JSON formats
Domande frequenti
How do I get an OTLP JSON file?
Configure the OpenTelemetry collector file exporter, or use a debug exporter that writes OTLP JSON. Many SDKs can also print spans in this format during tests.
What is the critical path?
It is the sequence of spans that determined the total duration. Making work on the path faster makes the request faster; work off the path ran in parallel and does not.
Why is a parent's self time small?
Self time excludes time covered by child spans. A small value means the parent mostly waited for its children, which is normal for gateways and orchestrating services.
How do I find failing spans?
Tick errors or search for a status attribute, for example http.response.status_code=500. Matching spans stay bright and others are dimmed; only matches hides the rest.
Can I share the analysis?
Export spans CSV gives every span with offset, duration, self time, time on the critical path and status for a spreadsheet or report.
Does the trace leave my computer?
No. The file is parsed in your browser. Small traces are kept in local storage so they reopen next time.
