Annotation Interface ConditionalOnEnabledTracing


@Retention(RUNTIME) @Target({TYPE,METHOD}) @Documented @Conditional(org.springframework.boot.actuate.autoconfigure.tracing.OnEnabledTracingCondition.class) public @interface ConditionalOnEnabledTracing
@Conditional that checks whether tracing is enabled. It matches if the value of the management.tracing.enabled property is true or if it is not configured. If the tracing exporter name is set, the management.<name>.tracing.export.enabled property can be used to control the behavior for the specific tracing exporter. In that case, the exporter specific property takes precedence over the global property.
Since:
3.0.0
Author:
Moritz Halbritter
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Name of the tracing exporter.
  • Element Details

    • value

      String value
      Name of the tracing exporter.
      Returns:
      the name of the tracing exporter
      Since:
      3.4.0
      Default:
      ""