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
    Modifier and Type
    Required Element
    Description
    The name of the resource contributor.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    If the condition should match if no property is defined for the resource contributor.
  • Element Details

    • value

      String value
      The name of the resource contributor.
    • matchIfMissing

      boolean matchIfMissing
      If the condition should match if no property is defined for the resource contributor.
      Default:
      false