Class HttpMetricsConfig
java.lang.Object
io.micronaut.configuration.metrics.binder.web.config.HttpMetricsConfig
- All Implemented Interfaces:
io.micronaut.core.util.Toggleable
@ConfigurationProperties("micronaut.metrics.binders.web")
public final class HttpMetricsConfig
extends Object
implements io.micronaut.core.util.Toggleable
The http config.
- Since:
- 5.9
- Author:
- Denis Stepanov
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
The errors config. -
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
PATH
To config path.- See Also:
-
-
Constructor Details
-
HttpMetricsConfig
public HttpMetricsConfig()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceio.micronaut.core.util.Toggleable
- Returns:
- true if enabled
-
setEnabled
public void setEnabled(boolean enabled) - Parameters:
enabled
- true to enable
-