アノテーションインターフェース AutoConfigureMetrics
@TargetSE(TYPESE)
@RetentionSE(RUNTIMESE)
@DocumentedSE
@InheritedSE
@ImportAutoConfiguration
public @interface 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
オプション要素の概要
オプション要素
要素の詳細
export
boolean exportテストでメトリクスを外部システムに報告するかどうか。- 戻り値:
- テストでメトリクスを外部システムに報告する必要があるかどうか
- デフォルト:
true