
Configuration
The integration works by sending trace data to Openlayer’s OpenTelemetry endpoint. To set it up, you need to:Add dependencies
Make sure your project includes the following dependencies:
- Spring Boot Actuator
- Micrometer tracing with OpenTelemetry support
- OTLP exporter
Configure Tracing in `application.yml`
With the dependencies in place, Spring Boot will auto-configure OpenTelemetry tracing.You just need to:
- Set the OTLP endpoint (pointing to Openlayer)
- Enable tracing for Spring AI
Point to Openlayer's OpenTelemetry endpoint
Finally, point your application to Openlayer’s OpenTelemetry endpoint via
the following environment variables:

