Interface ComponentMetricsSettings.Builder

All Superinterfaces:
io.helidon.common.Builder<ComponentMetricsSettings.Builder,ComponentMetricsSettings>, Supplier<ComponentMetricsSettings>
Enclosing interface:
ComponentMetricsSettings

public static interface ComponentMetricsSettings.Builder extends io.helidon.common.Builder<ComponentMetricsSettings.Builder,ComponentMetricsSettings>
Builder for ComponentMetricsSettings.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Config key within the component's metrics config section controlling whether metrics are enabled for that component.
    static final String
    By convention, the config key within the component's config section containing metrics settings for the component.
  • Method Summary

    Modifier and Type
    Method
    Description
    Constructs a ComponentMetricsSettings object from the builder.
    config(Config config)
    Updates the builder using the provided metrics config.
    enabled(boolean value)
    Sets whether metrics should be enabled for the component.

    Methods inherited from interface io.helidon.common.Builder

    get, identity, update
  • Field Details

    • METRICS_CONFIG_KEY

      static final String METRICS_CONFIG_KEY
      By convention, the config key within the component's config section containing metrics settings for the component.
      See Also:
    • ENABLED_CONFIG_KEY

      static final String ENABLED_CONFIG_KEY
      Config key within the component's metrics config section controlling whether metrics are enabled for that component.
      See Also:
  • Method Details