Annotation Interface AutoConfigureObservability


@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited public @interface AutoConfigureObservability
Annotation that can be applied to a test class to enable auto-configuration for observability.
Since:
3.0.0
Author:
Moritz Halbritter
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether metrics should be enabled in the test.
    boolean
    Whether tracing should be enabled in the test.
  • Element Details

    • metrics

      boolean metrics
      Whether metrics should be enabled in the test.
      Returns:
      whether metrics should be enabled in the test
      Default:
      true
    • tracing

      boolean tracing
      Whether tracing should be enabled in the test.
      Returns:
      whether tracing should be enabled in the test
      Default:
      true