Read an exported OTLP trace: a waterfall, spans ranked by their own time rather than their duration, and resource attributes checked against conventions.
Waiting for an OTLP payload
Exported trace JSON from a collector or an SDK. Nothing is uploaded.
Duration includes every child, so the longest span in a trace is nearly always the root. Self time — duration minus the union of the children’s intervals — is the number that points at where the wall clock actually went, and no exporter computes it for you.
Paste an OTLP payload to see where the time actually went.
This reads one exported payload. It does not connect to a collector, a backend or anything in production, and a batch is only part of a trace — so a span whose parent is missing is reported as being in another batch rather than as broken. Timestamps are held as integers throughout: parsing a nanosecond value as a floating-point number silently loses precision, which makes every duration computed from it wrong in its last digits. A child window outside its parent’s is named as clock skew, because that is what it usually is.
OTLP Trace Inspector runs entirely on your device — your trace is parsed in your browser and no part of it is uploaded to any observability backend.
You’re on the Free plan. Compare plans
A span's duration includes everything its children did, so the longest span in any trace is almost always the root and that tells you nothing. Self time subtracts the union of the children's intervals — the union, not the sum, because concurrent children overlap and subtracting the sum produces negative numbers for parallel work. Ranking by self time is what points at the span actually spending the wall clock.
OTLP nanosecond timestamps arrive as strings because they do not fit a double: a current value is around 1.76e18 against the 9.007e15 a double holds exactly. Parsing one with a floating-point conversion silently rounds it, and every duration computed from it is wrong in its last digits. They are held as integers throughout here and converted only once reduced to a small duration.
What is wrong is separated from what is merely incomplete. An orphan span — one whose parent is not in this batch — is normal, because batches are flushed independently. A span that is its own parent is a genuine fault. A child whose window falls outside its parent's is clock skew between hosts rather than a broken trace. Reporting all three the same way is how a trace inspector becomes noise.
Because duration is cumulative. The root span's duration is the whole request, every parent contains its children, and the ranking by duration is therefore just the tree depth. Self time names the span doing the work.
Because children can run concurrently. Subtracting the sum of overlapping intervals over-counts and can produce a negative self time, which would make parallel work look free.
Usually not. Batches are exported independently, so the parent is very often in another batch. It is reported as parent not in this payload rather than as an error, because treating it as one would flag most real exports.
Because a nanosecond epoch value exceeds what a double represents exactly. Reading one as a floating-point number loses precision, which makes computed durations wrong — subtly, in the last few digits, which is the kind of error nobody notices.
No. It reads one exported payload in your browser. Nothing is sent to a collector, a backend or anything in production.
If a tool here saved you some time, you can put something towards the hosting.Buy me a coffee, on Ko-fi, opens in a new tab