Class MetricsProperties
java.lang.Object
org.axonframework.extension.metrics.dropwizard.springboot.MetricsProperties
Properties describing the settings for metrics.
- Since:
- 3.2.0
- Author:
- Steven van Beelen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the auto-configuration of metrics is enabled.voidsetEnabled(boolean enabled) Enables (iftrue, default) or disables (iffalse) the auto-configuration of metrics within the application context.
-
Constructor Details
-
MetricsProperties
public MetricsProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Indicates whether the auto-configuration of metrics is enabled.- Returns:
trueif the auto-configuration of metrics is enabled,falseif otherwise
-
setEnabled
public void setEnabled(boolean enabled) Enables (iftrue, default) or disables (iffalse) the auto-configuration of metrics within the application context.- Parameters:
enabled- whether to enable metrics autoconfiguration
-