Skip to main content
Interactive 3D/LLM Observability - Trace Waterfall
LLM Observability - Trace Waterfall
Trace: rag · Total: 758ms · P95: 980ms
Span Waterfall (ms)
Tokenize
3ms
45t
Retrieve
85ms
0t
Embed Query
22ms
Vector Search
60ms
0t
Generate
650ms
280t
Filter
18ms
Respond
2ms
0ms190ms379ms569ms758ms
Latency Percentiles
P50
758ms
P95
980ms
P99
1250ms
Total Tokens
325
Error Rate
0%
Spans
7
Controls
Trace Type
Latency Percentile
Distributed tracing for LLMs shows where time is spent: tokenization, retrieval, generation, or filtering.

P99 latency is critical for SLAs - a slow tail can make the whole app feel broken.

LLM Observability - Trace Waterfall - Interactive Visualization

Observability for LLM applications means tracing every request through each processing stage: tokenization, optional RAG retrieval, generation, output filtering, and response delivery. A distributed trace waterfall shows each span as a horizontal bar, with width proportional to duration. P50/P95/P99 latency percentiles reveal tail latency issues - a slow P99 means 1 in 100 users has a terrible experience even if the median is fine. Error traces show retry patterns and the cost of failures.

  • Span waterfall: each processing stage rendered as a horizontal bar with exact ms duration
  • Four trace types: fast (188ms), slow (4.3s), RAG-augmented (758ms), error with retries
  • P50/P95/P99 latency cards for each trace type
  • Token count display at each stage - see where tokens are consumed
  • Error indicator: red spans highlight failed attempts, shows retry overhead
  • Used in: LangSmith, Langfuse, Arize, Helicone, OpenTelemetry + custom dashboards

Part of the EngineersOfAI Interactive 3D - free interactive visualizations covering every major concept in machine learning and AI engineering. Hover any element for a plain-English explanation. No code required.