public interface KeyPerformanceIndicatorSupportDefinitions and factory methods for key performance indicator
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
JerseySupportbuilder 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
MetricsSupportvendor metrics handler.
using a per-request KPI metrics context which it notifies when the request
- begins processing, and
- completes processing.
Nested Class Summary
Nested Classes Modifier and Type Interface Description
KeyPerformanceIndicatorSupport.ContextPer-request key performance indicator context, with behavior common to immediately-processed requests and deferrable ones.
KeyPerformanceIndicatorSupport.DeferrableRequestContextAdded 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).
KeyPerformanceIndicatorSupport.MetricsKey performance indicator metrics behavior.