アノテーションインターフェース AutoConfigureMetrics


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

If this annotation is applied to a sliced test, an in-memory MeterRegistry and an ObservationRegistry are added to the application context.

導入:
4.0.0
作成者:
Moritz Halbritter
  • オプション要素の概要

    オプション要素
    修飾子と型
    オプションの要素
    説明
    boolean
    テストでメトリクスを外部システムに報告するかどうか。
  • 要素の詳細

    • export

      boolean export
      テストでメトリクスを外部システムに報告するかどうか。
      戻り値:
      テストでメトリクスを外部システムに報告する必要があるかどうか
      デフォルト:
      true