Module io.helidon.metrics
Package io.helidon.metrics
Interface KeyPerformanceIndicatorMetricsSettings.Builder
- All Superinterfaces:
Builder<KeyPerformanceIndicatorMetricsSettings.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
Modifier and TypeMethodDescriptionUpdates the KPI metrics settings in the builder based on the providedConfig
object.extended
(boolean value) Sets whether exntended KPI metrics should be enabled in the settings.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 Details
-
extended
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
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
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
-