Skip to content
caliper ui pro docs

Traces

Where the time went in a request or a model run.

Pro2 variants

Trace waterfall

API and files

A distributed trace as a waterfall: spans nested by parent, coloured by service, errors marked, the critical path on demand, zoom to any span, search by name or service, and the selected span’s attributes beside it.

Trace 4bf92f35

842 ms · 12 spans · 7 services · 1 error
  • gateway
  • auth
  • billing
  • postgres
  • tax
  • renderer
  • queue
POST /api/invoicesgateway842 ms
auth.verifyauth38 ms
invoices.createbilling770 ms
SELECT customerspostgres22 ms
tax.quotetax312 ms
GET vatstack /ratestax140 ms
GET vatstack /rates (retry)tax152 ms
INSERT invoicespostgres31 ms
pdf.renderrenderer356 ms
fonts.loadrenderer64 ms
queue.publish invoice.createdqueue12 ms
audit.writeauth14 ms

↑ ↓ move · ← → collapse and expand · Enter selects

Llm run trace

API and files

One agent or model run step by step: model calls, tools and retrieval on a waterfall with tokens and cost per step, totals for latency, tokens, cache hits and cost, a budget meter, and each step’s input and output.

Latency
9.42 s
Tokens in · out
21,810 · 834
Cache hits
89%
Cost
$0.0187
Steps
3 model · 3 tool

Slowest step: Reply, 2.48 s (26% of the run).

Run 7c1e · refund request

9.42 s · 8 spans · 5 services · 1 error
  • Agent
  • claude-sonnet-5-5
  • Retrieval
  • Tool
  • claude-haiku-5-5
Support agentAgent9.42 s
Planclaude-sonnet-5-56,392$0.00611.84 s
Search help centreRetrieval420 ms
billing.list_invoicesTool610 ms
Decideclaude-sonnet-5-57,720$0.00942.21 s
billing.refundTool1.32 s
billing.get_refundTool380 ms
Replyclaude-haiku-5-58,532$0.00322.48 s

↑ ↓ move · ← → collapse and expand · Enter selects

When to use

  • Trace waterfall: aPM, observability and developer platforms.
  • Llm run trace: debugging and reviewing agent runs.

When not to use

  • A flat list of log lines; use the log explorer.
  • Showing a person what an agent did in plain words; use the agent run timeline.