diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/opentelemetry/OpenTelemetryResourceAttributes.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/opentelemetry/OpenTelemetryResourceAttributes.java index cda30f67918..c7f867ce11b 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/opentelemetry/OpenTelemetryResourceAttributes.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/opentelemetry/OpenTelemetryResourceAttributes.java @@ -44,7 +44,8 @@ import org.springframework.util.StringUtils; public final class OpenTelemetryResourceAttributes { /** - * Default value for service name if {@code service.name} is not set. + * Default value for service name. Used if {@code service.name} is not set and no name + * can be deduced from the running application. */ private static final String DEFAULT_SERVICE_NAME = "unknown_service";