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.Builder
config(Config kpiConfig)
Updates the KPI metrics settings in the builder based on the providedConfig
object.KeyPerformanceIndicatorMetricsSettings.Builder
extended(boolean value)
Sets whether exntended KPI metrics should be enabled in the settings.KeyPerformanceIndicatorMetricsSettings.Builder
longRunningRequestThresholdMs(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.Builder
Sets whether exntended KPI metrics should be enabled in the settings.- Specified by:
extended
in 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.Builder
Sets the long-running request threshold (in ms).- Specified by:
longRunningRequestThresholdMs
in interfaceKeyPerformanceIndicatorMetricsSettings.Builder
- Parameters:
value
- long-running request threshold- Returns:
- updated builder instance
-
config
KeyPerformanceIndicatorMetricsSettings.Builder config(Config kpiConfig)
Description copied from interface:KeyPerformanceIndicatorMetricsSettings.Builder
Updates the KPI metrics settings in the builder based on the providedConfig
object.- Specified by:
config
in interfaceKeyPerformanceIndicatorMetricsSettings.Builder
- Parameters:
kpiConfig
- KPI metrics config node- Returns:
- updated builder instance
-
-