Skip to content

Commit 6163308

Browse files
committed
Polish "Clarify that auto-configured OpenTelemetry Resource behaviour"
See gh-39509
1 parent 02765bc commit 6163308

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/observability.adoc

+2-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ Spring Boot's actuator module includes basic support for https://opentelemetry.i
8080

8181
It provides a bean of type `OpenTelemetry`, and if there are beans of type `SdkTracerProvider`, `ContextPropagators`, `SdkLoggerProvider` or `SdkMeterProvider` in the application context, they automatically get registered.
8282
Additionally, it provides a `Resource` bean.
83-
The attributes of the `Resource` can be configured via the configprop:management.opentelemetry.resource-attributes[] configuration property if you have not defined and exposed your own Resource bean.
83+
The attributes of the auto-configured `Resource` can be configured via the configprop:management.opentelemetry.resource-attributes[] configuration property.
84+
If you have defined your own `Resource` bean, this will no longer be the case.
8485

8586
NOTE: Spring Boot does not provide auto-configuration for OpenTelemetry metrics or logging.
8687
OpenTelemetry tracing is only auto-configured when used together with <<actuator#actuator.micrometer-tracing, Micrometer Tracing>>.

0 commit comments

Comments
 (0)