Skip to content

Commit 22781fc

Browse files
committed
Polish DEFAULT_SERVICE_NAME javadoc
See gh-44494
1 parent a583309 commit 22781fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/opentelemetry/OpenTelemetryResourceAttributes.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
public final class OpenTelemetryResourceAttributes {
4545

4646
/**
47-
* Default value for service name if {@code service.name} is not set.
47+
* Default value for service name. Used if {@code service.name} is not set and no name
48+
* can be deduced from the running application.
4849
*/
4950
private static final String DEFAULT_SERVICE_NAME = "unknown_service";
5051

0 commit comments

Comments
 (0)