- 
- All Superinterfaces:
- Builder<RegistrySettings>,- Supplier<RegistrySettings>
 - Enclosing interface:
- RegistrySettings
 
 public static interface RegistrySettings.Builder extends Builder<RegistrySettings> Builder forRegistrySettings.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringENABLED_CONFIG_KEYConfig key within the registry's config section controlling whether the current type of metrics should be enabled.static StringFILTER_CONFIG_KEYConfig key within the registry's config section specifying a filter.static StringTYPE_CONFIG_KEYConfig key within the registry's config section identifying which registry type the settings apply to.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description RegistrySettingsbuild()Creates a newRegistrySettingsinstance from the builder.RegistrySettings.Builderconfig(Config registrySettings)Sets values in the builder based on the providedConfignode.RegistrySettings.Builderenabled(boolean value)Sets whether the metric type should be enabled.RegistrySettings.BuilderfilterSettings(RegistryFilterSettings.Builder registryFilterSettingsBuilder)Sets the filter to use for identifying specific metrics to enable.booleanisEnabled()booleanisStrictExemplars()RegistrySettings.BuilderstrictExemplars(boolean value)Whether to add exemplars (if exemplar providers are present) only to counter totals and buckets.
 
- 
- 
- 
Field Detail- 
ENABLED_CONFIG_KEYstatic final String ENABLED_CONFIG_KEY Config key within the registry's config section controlling whether the current type of metrics should be enabled.- See Also:
- Constant Field Values
 
 - 
FILTER_CONFIG_KEYstatic final String FILTER_CONFIG_KEY Config key within the registry's config section specifying a filter.- See Also:
- Constant Field Values
 
 - 
TYPE_CONFIG_KEYstatic final String TYPE_CONFIG_KEY Config key within the registry's config section identifying which registry type the settings apply to.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
enabledRegistrySettings.Builder enabled(boolean value) Sets whether the metric type should be enabled.- Parameters:
- value- true if metric type should be enabled; false otherwise
- Returns:
- updated builder
 
 - 
filterSettingsRegistrySettings.Builder filterSettings(RegistryFilterSettings.Builder registryFilterSettingsBuilder) Sets the filter to use for identifying specific metrics to enable.- Parameters:
- registryFilterSettingsBuilder-- Stringspecifying enabled and disabled metric name patterns
- Returns:
- updated builder
 
 - 
strictExemplarsRegistrySettings.Builder strictExemplars(boolean value) Whether to add exemplars (if exemplar providers are present) only to counter totals and buckets.By default, Helidon adds exemplars only to those metric types described as accepting exemplars in the OpenMetrics spec. Helidon can add exemplars to additional metric types but only if the user sets strcitExamplarsto @{code false}.- Parameters:
- value- true/false
- Returns:
- updated builder
 
 - 
configRegistrySettings.Builder config(Config registrySettings) Sets values in the builder based on the providedConfignode.- Parameters:
- registrySettings-- Confignode containing settings for the registry type
- Returns:
- updated builder
 
 - 
isEnabledboolean isEnabled() - Returns:
- builder's current setting for whether metrics in the relevant registry are to be used
 
 - 
isStrictExemplarsboolean isStrictExemplars() - Returns:
- whether strict exemplar behavior is enabled
 
 - 
buildRegistrySettings build() Creates a newRegistrySettingsinstance from the builder.- Specified by:
- buildin interface- Builder<RegistrySettings>
- Returns:
- new instance from the builder
 
 
- 
 
-