Setup
Import and run the instrumentation function.Usage
Use theAnthropic client as normal. All messages.create calls are automatically traced.
Captured Data
The integration automatically records:- Model ID (e.g.,
claude-3-opus-20240229) - System and User prompts
- Output text
- Token counts (input/output)
- Request duration
