Prerequisites
- Java 11 or higher
- Arize AX account
Add Dependencies
1. Gradle
Add the dependencies to yourbuild.gradle:
Setup Arize Credentials
Configuration for Arize Tracing
Run Spring AI
By instrumenting your application, spans will be created whenever it is run and will be sent to Arize for collection.Observe
Once configured, your OpenInference traces will be automatically sent to Arize where you can:- Monitor Performance: Track latency and errors
- Analyze Usage: View token usage, model performance, and cost metrics
- Debug Issues: Trace request flows and identify bottlenecks
- Evaluate Quality: Run evaluations on your LLM outputs