Module io.helidon.metrics.api
Package io.helidon.metrics.api
Interface KeyPerformanceIndicatorMetricsConfig
- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
KeyPerformanceIndicatorMetricsConfig.BuilderBase.KeyPerformanceIndicatorMetricsConfigImpl
Config bean for KPI metrics configuration.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forKeyPerformanceIndicatorMetricsConfig.static classKeyPerformanceIndicatorMetricsConfig.BuilderBase<BUILDER extends KeyPerformanceIndicatorMetricsConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends KeyPerformanceIndicatorMetricsConfig> Fluent API builder base forKeyPerformanceIndicatorMetricsConfig. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a new fluent API builder to customize configuration.builder(KeyPerformanceIndicatorMetricsConfig instance) Create a new fluent API builder from an existing instance.create()Create a new instance with default values.Create a new instance from configuration.booleanextended()Whether KPI extended metrics are enabled.Threshold in ms that characterizes whether a request is long running.
-
Field Details
-
LONG_RUNNING_REQUESTS_THRESHOLD_DEFAULT
Default long-running requests threshold.- See Also:
-
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
static KeyPerformanceIndicatorMetricsConfig.Builder builder(KeyPerformanceIndicatorMetricsConfig instance) Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
extended
boolean extended()Whether KPI extended metrics are enabled.- Returns:
- true if KPI extended metrics are enabled; false otherwise
-
longRunningRequestThreshold
Duration longRunningRequestThreshold()Threshold in ms that characterizes whether a request is long running.- Returns:
- threshold in ms indicating a long-running request
-