@Test void testDisabledBuilder() { testDisabled(TracingConfig.builder() .enabled(false) .addComponent(ComponentTracingConfig.builder("web-server") .enabled(true) .addSpan(SpanTracingConfig.builder("HTTP Request") .enabled(true) .addSpanLog(SpanLogTracingConfig.builder("content-read").build()) .build()) .build()) .build()); }
public static Builder builder() { return new Builder(); }
TracingConfig extends Traceable { public static Builder builder() { return new Builder(); } }
TracingConfig extends Traceable { public static Builder builder() { return new Builder(); } protected  TracingConfig(String name); }
TracingConfig extends Traceable { public static Builder builder() { return new Builder(); } protected  TracingConfig(String name); ComponentTracingConfig component(String componentName); ComponentTracingConfig component(String componentName, boolean enabledByDefault); @Override String toString(); static TracingConfig create(Config config); static Builder builder(); static TracingConfig merge(TracingConfig older, TracingConfig newer); SpanTracingConfig spanConfig(String component, String spanName); }
TracingConfig extends Traceable { public static Builder builder() { return new Builder(); } protected  TracingConfig(String name); ComponentTracingConfig component(String componentName); ComponentTracingConfig component(String componentName, boolean enabledByDefault); @Override String toString(); static TracingConfig create(Config config); static Builder builder(); static TracingConfig merge(TracingConfig older, TracingConfig newer); SpanTracingConfig spanConfig(String component, String spanName); static final TracingConfig ENABLED; static final TracingConfig DISABLED; }