If you included the Arconia Phoenix Dev Service dependency as instructed in the previous step,
your Spring Boot application will automatically provision a Phoenix service at startup time
and connect to it. No extra code or configuration needed.The application logs will show you the URL where you can access the Phoenix AI observability platform
in your development environment.
...Phoenix UI: http://localhost:<port>
By default, traces are exported via OTLP using the HTTP/Protobuf format.For more info on using Phoenix with Arconia, see Phoenix Dev Service.
If you are using Phoenix Cloud or a self-hosted Phoenix, adjust the endpoint in the code as needed via the arconia.otel.exporter.otlp.endpoint=${PHOENIX_COLLECTOR_ENDPOINT} and arconia.otel.exporter.otlp.headers=Authorization=Bearer ${PHOENIX_API_KEY} properties. Alternatively, you can use the canonical OpenTelemetry Environment Variables: OTEL_EXPORTER_OTLP_ENDPOINT and OTEL_EXPORTER_OTLP_HEADERS.
By instrumenting your application with Arconia, spans are automatically created whenever your AI models via Spring AI are invoked and sent to the Phoenix server for collection. Arconia plugs into Spring Boot and Spring AI without any code or configuration changes.