Installation
Install both the Netra SDK and Ollama SDK:Usage
Initialize the Netra SDK with Ollama instrumentation enabled. The SDK automatically traces all Ollama API calls once initialized.Streaming Responses
The SDK automatically handles streaming responses and captures the complete output:Embeddings
Embedding operations are also automatically instrumented:Selective Instrumentation
Control which integrations are enabled using theinstruments or blockInstruments configuration:
Next Steps
- Quick Start Guide - Complete setup and configuration
- Auto Instrumentation - Automatic tracing for supported libraries
- Decorators - Add custom tracing with
@workflow,@agent, and@taskdecorators - Session Tracking - Track user sessions and conversations
- Ollama Documentation - Official Ollama API documentation