Setup
Enable instrumentation with a single function call. This will automatically track all subsequent calls toOpenAI or AzureOpenAI clients.
Usage
Once instrumented, use the OpenAI client as you normally would. The SDK automatically captures:- Model name
- Input messages
- Token usage (prompt and completion)
- Response content
- Latency
