Prerequisites
- Java 11 or higher
- Arize AX account
Add Dependencies
1. Gradle
Add the dependencies to yourbuild.gradle:
Setup Arize Credentials
Run Arconia
By instrumenting your application with Arconia, spans are automatically created whenever your AI models (e.g., via Spring AI) are invoked and sent to Arize for collection. Arconia plugs into Spring Boot and Spring AI with minimal code changes. You can also reference Spring AI Tracing docsObserve
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