Skip to main content
Step-by-step guide to sending your first trace.

Prerequisites

  • Lumina running (Docker or Kubernetes)
  • Node.js 18+ or Bun

Step 1: Install SDK


Step 2: Create Test File

Create first-trace.ts:

Step 3: Run


Step 4: View in Dashboard

  1. Open http://localhost:3000/traces
  2. Find your trace with service quickstart
  3. Click to view details
You should see:
  • Automatic cost calculation
  • Token counts
  • Latency measurement
  • Full prompt and response

Next Steps

SDK Documentation

Learn SDK usage patterns

Multi-Span Tracing

Track complex workflows