server: port: 8080 spring: application: name: order-service management: endpoints: web: exposure: include: health metrics: tags: application: ${spring.application.name} # No management.otlp.* export properties here on purpose -- see docs/03-otel-env-vars.md. # In development, Boot's Docker Compose support (see compose.yaml) auto-configures the OTLP # export endpoints for metrics, traces and logs the moment it detects the grafana/otel-lgtm # image, without a single management.otlp.* property in this file. # management.tracing.sampling.probability defaults to 0.10 -- see docs/output/02-low-sampling-demo.txt # for what that does to a short burst of local traffic, and the "fulltrace" profile below for the fix. --- spring: config: activate: on-profile: fulltrace management: tracing: sampling: probability: 1.0