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 SummaryNested 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 SummaryFields
- 
Method SummaryModifier 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.Deprecated.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_DEFAULTDefault long-running requests threshold.- See Also:
 
 
- 
- 
Method Details- 
builderCreate a new fluent API builder to customize configuration.- Returns:
- a new builder
 
- 
builderstatic 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
 
- 
createCreate a new instance from configuration.- Parameters:
- config- used to configure the new instance
- Returns:
- a new instance configured from configuration
 
- 
createDeprecated.Create a new instance from configuration.- Parameters:
- config- used to configure the new instance
- Returns:
- a new instance configured from configuration
 
- 
createCreate a new instance with default values.- Returns:
- a new instance
 
- 
extendedboolean extended()Whether KPI extended metrics are enabled.- Returns:
- true if KPI extended metrics are enabled; false otherwise
 
- 
longRunningRequestThresholdDuration longRunningRequestThreshold()Threshold in ms that characterizes whether a request is long running.- Returns:
- threshold in ms indicating a long-running request
 
 
- 
create(io.helidon.config.Config)