Module io.helidon.metrics.api
Package io.helidon.metrics.api
package io.helidon.metrics.api
Defines the Helidon metrics API so Helidon metrics-capable components can implement metrics simply and without regard for
whether metrics is actually on the runtime path or not or is enabled or not.
-
ClassDescriptionRepresentation of a histogram bucket, including the boundary value and the count of observations in that bucket.Choices for the output format for built-in meter names.Reports absolute time (and, therefore, is also useful in computing elapsed times).Settings which control metrics behavior for a metrics-capable component.Builder for
ComponentMetricsSettings
.Records a monotonically increasing value.Builder for a new counter.Configuration which controls the behavior of distribution statistics from meters that support them (for example, timers and distribution summaries).Builder for a newDistributionStatisticsConfig
instance.Records a distribution of values (e.g., sizes of responses returned by a server).Builder for aDistributionSummary
.A read-only counter which wraps some other object that provides the counter value via a function.Builder for aFunctionalCounter
.Measures a value that can increase or decrease and is updated by external logic, not by explicit invocations of methods on this type.Gauge.Builder<N extends Number>Builder for a new gauge.Deprecated, for removal: This API element is subject to removal in a future version.Snapshot in time of a histogram.Common behavior among meters which support histograms.Config bean for KPI metrics configuration.Fluent API builder forKeyPerformanceIndicatorMetricsConfig
.KeyPerformanceIndicatorMetricsConfig.BuilderBase<BUILDER extends KeyPerformanceIndicatorMetricsConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends KeyPerformanceIndicatorMetricsConfig> Fluent API builder base forKeyPerformanceIndicatorMetricsConfig
.Generated implementation of the prototype, can be extended by descendant prototype implementations.Base implementation ofSample.Labeled
.Internal interface prescribing minimum behavior of a snapshot needed to produce output.Common behavior of all meters.Common unit declarations (inspired by the list from MicroProfile metrics).Common behavior of specific meter builders.Unique idenfier for a meter.Constants for the pre-defined scopes.Type of meter.Manages the look-up and registration of meters.Builder for creating a new meter registry.Formatter of aMeterRegistry
according to a given media type.A main entry point for developers to the Helidon metrics system, allowing access to the global meter registry and providing shortcut methods to register and locate meters in the global registry and remove meters from it.Configuration settings for metrics.Fluent API builder forMetricsConfig
.MetricsConfig.BuilderBase<BUILDER extends MetricsConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends MetricsConfig> Fluent API builder base forMetricsConfig
.Generated implementation of the prototype, can be extended by descendant prototype implementations.The basic contract for implementations of the Helidon metrics API, mostly acting as a factory for meter builders rather than for meters themselves.Common behavior to all types of samples.Sample that does not exist as an actual observation but is derived from actual observations.A sample with a label and a timestamp, typically representing actual observations (rather than derived values).A metric capable of providing samples.Configuration settings for a scope within the "metrics" config section.Fluent API builder forScopeConfig
.ScopeConfig.BuilderBase<BUILDER extends ScopeConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ScopeConfig> Fluent API builder base forScopeConfig
.Generated implementation of the prototype, can be extended by descendant prototype implementations.Interface generated from definition.Fluent API builder forScopingConfig
.ScopingConfig.BuilderBase<BUILDER extends ScopingConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ScopingConfig> Fluent API builder base forScopingConfig
.Generated implementation of the prototype, can be extended by descendant prototype implementations.A metric that is capable of providing snapshots.Deals with global, app-level, and scope to be included in the external representation (output and IDs in delegate meter registries) for all metrics.Behavior of a tag for further identifying meters.Records timing information about large numbers of short-running events (e.g., HTTP requests).Builder for a newTimer
.Measures an interval of time from instantiation to an explicit invocation ofTimer.Sample.stop(io.helidon.metrics.api.Timer)
.Percentile and value at that percentile within a distribution.Behavior of a type that wraps a related type, typically through delegation.