Add instruction about Spring Boot profile

This commit is contained in:
Andreas Svanberg 2025-03-31 10:37:18 +02:00
parent 7010d80c55
commit da8982cada
Signed by: ansv7779
GPG Key ID: 2D081222BBEB56A3

@ -9,6 +9,7 @@ Start the application with `./mvnw spring-boot:run`. Spring will automatically r
The application will be available at http://localhost:8080 and tracing telemetry can be viewed at http://localhost:16686.
If running via some other means start the containers with `docker compose up`.
Activate the Spring Boot profile "development".
Make sure you're using the correct JVM arguments (`--enable-preview`).
Optionally add `-javaagent:opentelemetry-javaagent.jar -Dotel.javaagent.configuration-file=opentelemetry-javaagent.properties`
to enable OpenTelemetry tracing.