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
Quick setup recap
Quick setup recap
1. Install the SDK2. 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.View Your Trace
Open the Netra Dashboard and navigate to Observability → Traces. You should see your trace appear within a few seconds.
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
| Issue | Solution |
|---|---|
| No traces appearing | Verify NETRA_API_KEY and NETRA_OTLP_ENDPOINT are set correctly |
| LLM calls not traced | Ensure Netra.init() is called before importing the LLM library |
| Missing prompt content | Set traceContent: true in initialization |