public interface KeyPerformanceIndicatorSupport
Definitions and factory methods for key performance indicator
KeyPerformanceIndicatorSupport.Context
and KeyPerformanceIndicatorSupport.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
Modifier and TypeInterfaceDescriptionstatic interface
Per-request key performance indicator context, with behavior common to immediately-processed requests and deferrable ones.static interface
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
Key performance indicator metrics behavior.