Module io.helidon.metrics
Package io.helidon.metrics
Interface KeyPerformanceIndicatorMetricsSettings.Builder
-
- All Superinterfaces:
Builder<KeyPerformanceIndicatorMetricsSettings>,KeyPerformanceIndicatorMetricsSettings.Builder,Supplier<KeyPerformanceIndicatorMetricsSettings>
- Enclosing interface:
- KeyPerformanceIndicatorMetricsSettings
public static interface KeyPerformanceIndicatorMetricsSettings.Builder extends KeyPerformanceIndicatorMetricsSettings.Builder
Builder for KPI settings.
-
-
Field Summary
-
Fields inherited from interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings.Builder
CONFIG_KEY_PREFIX, KEY_PERFORMANCE_INDICATORS_CONFIG_KEY, KEY_PERFORMANCE_INDICATORS_EXTENDED_CONFIG_KEY, KEY_PERFORMANCE_INDICATORS_EXTENDED_DEFAULT, LONG_RUNNING_REQUESTS_CONFIG_KEY, LONG_RUNNING_REQUESTS_THRESHOLD_CONFIG_KEY, LONG_RUNNING_REQUESTS_THRESHOLD_MS_DEFAULT, QUALIFIED_LONG_RUNNING_REQUESTS_THRESHOLD_CONFIG_KEY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyPerformanceIndicatorMetricsSettings.Builderconfig(Config kpiConfig)Updates the KPI metrics settings in the builder based on the providedConfigobject.KeyPerformanceIndicatorMetricsSettings.Builderextended(boolean value)Sets whether exntended KPI metrics should be enabled in the settings.KeyPerformanceIndicatorMetricsSettings.BuilderlongRunningRequestThresholdMs(long value)Sets the long-running request threshold (in ms).-
Methods inherited from interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings.Builder
build, isExtended, longRunningRequestThresholdMs
-
-
-
-
Method Detail
-
extended
KeyPerformanceIndicatorMetricsSettings.Builder extended(boolean value)
Description copied from interface:KeyPerformanceIndicatorMetricsSettings.BuilderSets whether exntended KPI metrics should be enabled in the settings.- Specified by:
extendedin interfaceKeyPerformanceIndicatorMetricsSettings.Builder- Parameters:
value- whether extended KPI metrics should be enabled- Returns:
- updated builder instance
-
longRunningRequestThresholdMs
KeyPerformanceIndicatorMetricsSettings.Builder longRunningRequestThresholdMs(long value)
Description copied from interface:KeyPerformanceIndicatorMetricsSettings.BuilderSets the long-running request threshold (in ms).- Specified by:
longRunningRequestThresholdMsin interfaceKeyPerformanceIndicatorMetricsSettings.Builder- Parameters:
value- long-running request threshold- Returns:
- updated builder instance
-
config
KeyPerformanceIndicatorMetricsSettings.Builder config(Config kpiConfig)
Description copied from interface:KeyPerformanceIndicatorMetricsSettings.BuilderUpdates the KPI metrics settings in the builder based on the providedConfigobject.- Specified by:
configin interfaceKeyPerformanceIndicatorMetricsSettings.Builder- Parameters:
kpiConfig- KPI metrics config node- Returns:
- updated builder instance
-
-