-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Description
Current spring-boot-autoconfigure configuration naming scheme is very different from what we use in SDK/javaagent: https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/spring/spring-boot-autoconfigure/README.md#configuration-properties
Everything starts with opentelemetry.trace.*, some properties (like opentelemetry.trace.exporters.jaeger.servicename) do not exist anymore, there's even no way to configure the Resource.
We should use the same property names that we use in SDK or javaagent, e.g.:
otel.traces.*for tracer config;otel.instrumentation.<name>.enabledto enable manual instrumentations (@WithSpanadvice, HTTP clients, etc);- And add
otel.resource.attributessupport so thatservice.nameis properly set.