-
public interface KeyPerformanceIndicatorSupport
Definitions and factory methods for key performance indicatorKeyPerformanceIndicatorSupport.Context
andKeyPerformanceIndicatorSupport.Metrics
.Helidon maintains two categories of KPI metrics:
- basic - always collected (if the app depends on metrics) - count and meter of the number of arrived requests
- extended - disabled by default, enabled using the
MetricsSupport
orJerseySupport
builder or using config- concurrent gauge of in-flight requests
- meters (rates) of
- long-running requests
- load (currently-running requests)
- deferred requests
Helidon updates the KPI metrics in the
MetricsSupport
vendor metrics handler.using a per-request KPI metrics context which it notifies when the request
- arrives,
- begins processing, and
- completes processing.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
KeyPerformanceIndicatorSupport.Context
Per-request key performance indicator context, with behavior common to immediately-processed requests and deferrable ones.static interface
KeyPerformanceIndicatorSupport.DeferrableRequestContext
Added per-request key performance indicator context behavior for requests for which processing might be deferred until some time after receipt of the request (i.e., some time after request handling begins).static interface
KeyPerformanceIndicatorSupport.Metrics
Key performance indicator metrics behavior.
-