How to get local traces

Start docker-compose jeager with command :

docker compose up jaeger

Add the following configuration to the application.yml of the project of your choice :

otel:
  exporter:
    resource-attributes: env=tracingTest
    otlp:
      endpoint: http://localhost:4317

Now if you want to see your traces, go to http://localhost:16686/