Annotation Interface AutoConfigureTracing


Annotation that can be applied to a test class to enable auto-configuration for tracing.

If this annotation is applied to a sliced test, a no-op Tracer and an ObservationRegistry are added to the application context.

Since:
4.0.0
Author:
Moritz Halbritter
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether traces should be reported to external systems in the test.
  • Element Details

    • export

      boolean export
      Whether traces should be reported to external systems in the test.
      Returns:
      whether traces should be reported to external systems in the test
      Default:
      true