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
  • Field Details

  • Constructor Details

    • HttpMetricsConfig

      public HttpMetricsConfig()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface io.micronaut.core.util.Toggleable
      Returns:
      true if enabled
    • setEnabled

      public void setEnabled(boolean enabled)
      Parameters:
      enabled - true to enable