Annotation Interface ConditionalOnEnabledOpenTelemetry


@Retention(RUNTIME) @Target({TYPE,METHOD}) @Documented @ConditionalOnBooleanProperty(name="management.opentelemetry.enabled", matchIfMissing=true) public @interface ConditionalOnEnabledOpenTelemetry
@Conditional that checks whether OpenTelemetry is enabled. It matches if the value of the management.opentelemetry.enabled property is true or if it is not configured.
Since:
4.1.0
Author:
Moritz Halbritter