parent
f1631c9510
commit
43c2f1c03c
|
@ -29,6 +29,8 @@ import static org.mockito.BDDMockito.given;
|
|||
import static org.mockito.Mockito.mock;
|
||||
|
||||
/**
|
||||
* Tests for {@link OnTracingEnabledCondition}.
|
||||
*
|
||||
* @author Moritz Halbritter
|
||||
*/
|
||||
class OnTracingEnabledConditionTests {
|
||||
|
|
|
@ -31,7 +31,8 @@ import org.springframework.boot.test.autoconfigure.actuate.observability.AutoCon
|
|||
*
|
||||
* @author Chris Bono
|
||||
* @since 2.4.0
|
||||
* @deprecated use {@link AutoConfigureObservability} instead
|
||||
* @deprecated since 3.0.0 for removal in 3.2.0 in favor of
|
||||
* {@link AutoConfigureObservability @AutoConfigureObservability}
|
||||
*/
|
||||
@Target(ElementType.TYPE)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
|
|
|
@ -44,7 +44,7 @@ public @interface AutoConfigureObservability {
|
|||
|
||||
/**
|
||||
* Whether tracing should be enabled in the test.
|
||||
* @return whether metrics should be enabled in the test
|
||||
* @return whether tracing should be enabled in the test
|
||||
*/
|
||||
boolean tracing() default true;
|
||||
|
||||
|
|
|
@ -28,8 +28,8 @@ import org.springframework.test.context.MergedContextConfiguration;
|
|||
import org.springframework.test.context.TestContextAnnotationUtils;
|
||||
|
||||
/**
|
||||
* {@link ContextCustomizerFactory} that globally disables metrics export unless
|
||||
* {@link AutoConfigureObservability} is set on the test class.
|
||||
* {@link ContextCustomizerFactory} that globally disables metrics export and tracing
|
||||
* unless {@link AutoConfigureObservability} is set on the test class.
|
||||
*
|
||||
* @author Chris Bono
|
||||
* @author Moritz Halbritter
|
||||
|
|
Loading…
Reference in New Issue