Skip to main content
This guide walks you through sending your first trace to Netra.

Prerequisites

Before you begin, make sure you’ve completed the initial setup from the Getting Started guide:
  • Created your API key
  • Configured environment variables
  • Installed the Netra SDK
1. Install the SDK
2. Set environment variables

Send Your First Trace

Add Netra initialization at the start of your application, then run a simple LLM call. Netra will automatically capture the trace.
Netra automatically instruments popular LLM libraries like OpenAI, Anthropic, LangChain, and more. See Auto Instrumentation for the full list.

View Your Trace

Open the Netra Dashboard and navigate to Observability → Traces. You should see your trace appear within a few seconds. First Trace Click on the trace to see the full timeline, including:
  • LLM call details and parameters
  • Token usage and cost
  • Latency breakdown
  • Full prompt and response content

Troubleshooting

Learn more

Traces Overview

Learn what traces are and how to use them

Auto Instrumentation

See all supported libraries and frameworks

Decorators

Add semantic context with @workflow, @agent, @task

Manual Tracing

Create custom spans for fine-grained control
Last modified on March 17, 2026