Skip to content

Commit d8e7281

Browse files
committed
Merge pull request #39509 from wanger26
* pr/39509: Polish "Clarify that auto-configured OpenTelemetry Resource behaviour" Clarify that auto-configured OpenTelemetry Resource behaviour Closes gh-39509
2 parents 5df64af + 6163308 commit d8e7281

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.
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)