批注接口 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.
从以下版本开始:
3.0.0
作者:
Moritz Halbritter
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    Name of the tracing exporter.
  • 元素详细资料

    • value

      String value
      Name of the tracing exporter.
      返回:
      the name of the tracing exporter
      从以下版本开始:
      3.4.0
      默认值:
      ""