Annotation Interface ConditionalOnOpenTelemetryResourceContributor
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Documented
@Conditional(io.arconia.opentelemetry.autoconfigure.resource.OnOpenTelemetryResourceContributorCondition.class)
public @interface ConditionalOnOpenTelemetryResourceContributor
Indicates when the given resource contributor is eligible for registration.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIf the condition should match if no property is defined for the resource contributor.
-
Element Details
-
value
String valueThe name of the resource contributor. -
matchIfMissing
boolean matchIfMissingIf the condition should match if no property is defined for the resource contributor.- Default:
false
-