Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractMetric - Class in io.helidon.metrics.api
-
Common reusable implementation for any category of metric implementation (full-featured, no-op).
- AbstractMetric(String, Metadata) - Constructor for class io.helidon.metrics.api.AbstractMetric
-
Common initialization logic in creating a new metric.
- AbstractRegistry - Class in io.helidon.metrics.api
-
Common behavior for any category (e.g., full-featured or no-op) metrics registry.
- AbstractRegistry(MetricRegistry.Type, RegistrySettings) - Constructor for class io.helidon.metrics.api.AbstractRegistry
-
Create a registry of a certain type.
- AbstractRegistry.GaugeFactory - Interface in io.helidon.metrics.api
-
Gauge factories based on either functions or suppliers.
- AbstractRegistry.GaugeFactory.FunctionBased - Interface in io.helidon.metrics.api
-
Gauge factory based on a function which provides the gauge value when passed an object of a declared type.
- AbstractRegistry.GaugeFactory.SupplierBased - Interface in io.helidon.metrics.api
-
Gauge factory based on a supplier which provides the gauge value.
- allTags(Map<String, String>) - Method in interface io.helidon.metrics.api.SystemTagsManager
-
Returns a single iterator over the explicit tags in the provided map plus any global and app-level tags.
- allTags(MetricID) - Method in interface io.helidon.metrics.api.SystemTagsManager
-
Returns a single iterator over the explicit tags in the metric ID plus any global and app-level tags.
- APP_TAG - Static variable in interface io.helidon.metrics.api.SystemTagsManager
-
MicroProfile-specified tag for app-wide tag.
- APP_TAG_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.MetricsSettings.Builder
-
Config key for the app tag value to be applied to all metrics in this application.
- appTagValue() - Method in interface io.helidon.metrics.api.MetricsSettings
-
Returns the app tag value, if any.
- appTagValue(String) - Method in interface io.helidon.metrics.api.MetricsSettings.Builder
-
Sets the value for the
_apptag to be applied to all metrics.
B
- BASE_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.MetricsSettings.Builder
-
Config key within the config
metricssection controlling the base registry. - BASE_METRICS_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.BaseMetricsSettings.Builder
-
Config key within the config
metricssection controlling base metrics behavior. - baseMetricEnabledSettings() - Method in interface io.helidon.metrics.api.BaseMetricsSettings
- baseMetricsSettings() - Method in interface io.helidon.metrics.api.MetricsSettings
- baseMetricsSettings(BaseMetricsSettings.Builder) - Method in interface io.helidon.metrics.api.MetricsSettings.Builder
-
Set the base metrics settings.
- BaseMetricsSettings - Interface in io.helidon.metrics.api
-
Settings which control base metrics.
- BaseMetricsSettings.Builder - Interface in io.helidon.metrics.api
-
Builder for
BaseMetricsSettings. - build() - Method in interface io.helidon.metrics.api.ComponentMetricsSettings.Builder
-
Constructs a
ComponentMetricsSettingsobject from the builder. - build() - Method in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings.Builder
-
Builds a
KeyPerformanceIndicatorMetricsSettingsusing the settings from the builder. - build() - Method in interface io.helidon.metrics.api.MetricsSettings.Builder
-
Constructs a
MetricsSettingsobject from the builder. - build() - Method in interface io.helidon.metrics.api.RegistrySettings.Builder
-
Creates a new
RegistrySettingsinstance from the builder. - builder() - Static method in interface io.helidon.metrics.api.BaseMetricsSettings
-
Creates a new instance of the builder for
BaseMetricsSettings. - builder() - Static method in interface io.helidon.metrics.api.ComponentMetricsSettings
-
Returns a builder for
ComponentMetricsSettings. - builder() - Static method in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings
-
Creates a new builder for the settings.
- builder() - Static method in interface io.helidon.metrics.api.MetricsSettings
-
Returns a builder for
MetricsSettings. - builder() - Static method in interface io.helidon.metrics.api.RegistryFilterSettings
-
Creates a new default builder for
RegistryFilterSettings. - builder() - Static method in interface io.helidon.metrics.api.RegistrySettings
-
Creates a new defaulted builder for
RegistrySettings. - builder(Config) - Static method in interface io.helidon.metrics.api.ComponentMetricsSettings
-
Returns a builder for
ComponentMetricsSettingsbased on the provided component metric settings config node. - builder(BaseMetricsSettings) - Static method in interface io.helidon.metrics.api.BaseMetricsSettings
-
Creates a new instance of the builder based on the current settings in a
BaseMetricsSettingsobject. - builder(KeyPerformanceIndicatorMetricsSettings) - Static method in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings
-
Creates a builder using the values from an existing
KeyPerformanceIndicatorMetricsSettingsinstance. - builder(MetricsSettings) - Static method in interface io.helidon.metrics.api.MetricsSettings
-
Creates a builder based on the values in an existing
MetricsSettingsinstance.
C
- ComponentMetricsSettings - Interface in io.helidon.metrics.api
-
Settings which control metrics behavior for a metrics-capable component.
- ComponentMetricsSettings.Builder - Interface in io.helidon.metrics.api
-
Builder for
ComponentMetricsSettings. - concurrentGauge(String) - Method in class io.helidon.metrics.api.AbstractRegistry
- concurrentGauge(String, Tag...) - Method in class io.helidon.metrics.api.AbstractRegistry
- concurrentGauge(Metadata) - Method in class io.helidon.metrics.api.AbstractRegistry
- concurrentGauge(Metadata, Tag...) - Method in class io.helidon.metrics.api.AbstractRegistry
- concurrentGauge(MetricID) - Method in class io.helidon.metrics.api.AbstractRegistry
- config(Config) - Method in interface io.helidon.metrics.api.BaseMetricsSettings.Builder
-
Sets values in the builder based on the provided
Confignode. - config(Config) - Method in interface io.helidon.metrics.api.ComponentMetricsSettings.Builder
-
Updates the builder using the provided metrics config.
- config(Config) - Method in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings.Builder
-
Updates the KPI metrics settings in the builder based on the provided
Configobject. - config(Config) - Method in interface io.helidon.metrics.api.MetricsSettings.Builder
-
Updates the builder using the provided metrics config.
- config(Config) - Method in interface io.helidon.metrics.api.RegistryFilterSettings.Builder
-
Sets whichever values are specified by the provided
filterconfig node. - config(Config) - Method in interface io.helidon.metrics.api.RegistrySettings.Builder
-
Sets values in the builder based on the provided
Confignode. - CONFIG_KEY_PREFIX - Static variable in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings.Builder
-
Prefix of configuration keys.
- counter(String) - Method in class io.helidon.metrics.api.AbstractRegistry
- counter(String, Tag...) - Method in class io.helidon.metrics.api.AbstractRegistry
- counter(Metadata) - Method in class io.helidon.metrics.api.AbstractRegistry
- counter(Metadata, Tag...) - Method in class io.helidon.metrics.api.AbstractRegistry
- counter(MetricID) - Method in class io.helidon.metrics.api.AbstractRegistry
- create() - Static method in interface io.helidon.metrics.api.BaseMetricsSettings
-
Creates a new instance of
BaseMetricsSettingswith defaults. - create() - Static method in interface io.helidon.metrics.api.MetricsSettings
-
Returns default metrics settings based on the
metricssection of the default config. - create() - Static method in interface io.helidon.metrics.api.RegistryFactory
-
Returns a
RegistryFactoryaccording to the default metrics settings. - create() - Static method in interface io.helidon.metrics.api.RegistryFilterSettings
-
Creates a new default instance of
RegistryFilterSettings. - create() - Static method in interface io.helidon.metrics.api.RegistrySettings
-
Creates a new default
RegistrySettingsinstance. - create(Config) - Static method in interface io.helidon.metrics.api.BaseMetricsSettings
-
Creates a new instance of
BaseMetricsSettingsbased on the specifiedConfignode containing base metrics settings. - create(Config) - Static method in interface io.helidon.metrics.api.ComponentMetricsSettings
-
Returns component metrics settings created from a
Confignode, by convention themetricsconfig section within the component's own config section. - create(Config) - Static method in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings
-
Creates a new
KeyPerformanceIndicatorMetricsSettingsinstance from the specified config node containing KPI metrics settings. - create(Config) - Static method in interface io.helidon.metrics.api.MetricsSettings
-
Returns metrics settings based on a
Confignode, by convention themetricsconfig section within the overallmetricsconfig. - create(Config) - Static method in interface io.helidon.metrics.api.RegistryFactory
-
Deprecated.
- create(Config) - Static method in interface io.helidon.metrics.api.RegistryFilterSettings.Builder
-
Returns a new builder initialized according to the specific configuration.
- create(Config) - Static method in interface io.helidon.metrics.api.RegistrySettings
-
Creates a new
RegistrySettingsinstance using the provided config. - create(MetricsSettings) - Static method in interface io.helidon.metrics.api.RegistryFactory
-
Returns a
RegistryFactoryaccording to the specifiedMetricsSettings. - create(MetricsSettings) - Method in interface io.helidon.metrics.api.spi.RegistryFactoryProvider
-
Creates a new
RegistryFactoryaccording to the specified metrics settings. - create(MetricsSettings) - Static method in interface io.helidon.metrics.api.SystemTagsManager
-
Creates a new system tags manager using the provided metrics settings and saves it as the initialized instance returned to subsequent invocations of
SystemTagsManager.instance(). - createGauge(Metadata, Supplier<R>) - Method in class io.helidon.metrics.api.AbstractRegistry
-
Creates a gauge instance according to the specified supplier which returns the gauge value.
- createGauge(Metadata, Supplier<R>) - Method in interface io.helidon.metrics.api.AbstractRegistry.GaugeFactory.SupplierBased
-
Creates a gauge implemention with the specified metadata which invokes the provided supplier to fetch the gauge value.
- createGauge(Metadata, T, Function<T, R>) - Method in class io.helidon.metrics.api.AbstractRegistry
-
Creates a gauge instance according to the provided metadata such that retrievals of the gauge value trigger an invocation of the provided function, passing the indicated object.
- createGauge(Metadata, T, Function<T, R>) - Method in interface io.helidon.metrics.api.AbstractRegistry.GaugeFactory.FunctionBased
-
Creates a gauge implementation with the specified metadata which invokes the provided function passing the given object.
D
- DEFAULT_CONTEXT - Static variable in interface io.helidon.metrics.api.MetricsSettings.Builder
-
Default web context for the metrics endpoint.
- derived(double) - Static method in interface io.helidon.metrics.api.Sample
-
Create a new derived value without a reference.
- derived(double, Sample.Labeled) - Static method in interface io.helidon.metrics.api.Sample
-
Create a new derived value with a reference.
- deriveType(MetricType, Metric) - Static method in class io.helidon.metrics.api.AbstractRegistry
-
Infers the
MetricTypefrom a provided candidate type and a metric instance. - doubleValue() - Method in class io.helidon.metrics.api.LabeledSample
- doubleValue() - Method in interface io.helidon.metrics.api.Sample
-
Returns the value as a double.
E
- empty() - Method in class io.helidon.metrics.api.AbstractRegistry
-
Determines if registry is empty.
- empty() - Method in interface io.helidon.metrics.api.Registry
-
Whether this registry is empty, or contains any metrics.
- enableBaseMetric(String, boolean) - Method in interface io.helidon.metrics.api.BaseMetricsSettings.Builder
-
Sets whether a specific base metric should be enabled.
- enabled() - Method in interface io.helidon.metrics.api.RegistryFactory
-
Is this factory enabled (backed by a real implementation).
- enabled(boolean) - Method in interface io.helidon.metrics.api.BaseMetricsSettings.Builder
-
Sets whether base metrics should be enabled.
- enabled(boolean) - Method in interface io.helidon.metrics.api.ComponentMetricsSettings.Builder
-
Sets whether metrics should be enabled for the component.
- enabled(boolean) - Method in interface io.helidon.metrics.api.MetricsSettings.Builder
-
Sets whether metrics should be enabled.
- enabled(boolean) - Method in interface io.helidon.metrics.api.RegistrySettings.Builder
-
Sets whether the metric type should be enabled.
- enabled(String) - Method in interface io.helidon.metrics.api.Registry
-
Whether a metric is enabled.
- ENABLED_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.BaseMetricsSettings.Builder
-
Config key within the config {code metrics.base} section controlling whether base metrics should be enabled.
- ENABLED_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.ComponentMetricsSettings.Builder
-
Config key within the component's
metricsconfig section controlling whether metrics are enabled for that component. - ENABLED_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.MetricsSettings.Builder
-
Config key within the config
metricssection controlling whether metrics are enabled. - ENABLED_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.RegistrySettings.Builder
-
Config key within the registry's config section controlling whether the current type of metrics should be enabled.
- equals(Object) - Method in record class io.helidon.metrics.api.MetricInstance
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.helidon.metrics.api.MetricsForMetadata
-
Indicates whether some other object is "equal to" this one.
- exclude(String) - Method in interface io.helidon.metrics.api.RegistryFilterSettings.Builder
-
Sets the regex for names to exclude.
- EXCLUDE_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.RegistryFilterSettings.Builder
-
Config key within the
filtersection for the regex for names to exclude. - ExemplarService - Interface in io.helidon.metrics.api.spi
-
Behavior for supporting exemplars in metrics histograms.
- extended(boolean) - Method in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings.Builder
-
Sets whether exntended KPI metrics should be enabled in the settings.
F
- FILTER_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.RegistrySettings.Builder
-
Config key within the registry's config section specifying a filter.
- filterSettings(RegistryFilterSettings.Builder) - Method in interface io.helidon.metrics.api.RegistrySettings.Builder
-
Sets the filter to use for identifying specific metrics to enable.
- find(String) - Method in class io.helidon.metrics.api.AbstractRegistry
- find(String) - Method in interface io.helidon.metrics.api.Registry
-
Returns an
Optionalfor an entry containing a metric ID and the corresponding metric matching the specified metric name.
G
- gauge(String, Supplier<T>, Tag...) - Method in class io.helidon.metrics.api.AbstractRegistry
- gauge(String, T, Function<T, R>, Tag...) - Method in class io.helidon.metrics.api.AbstractRegistry
- gauge(Metadata, Supplier<T>, Tag...) - Method in class io.helidon.metrics.api.AbstractRegistry
- gauge(Metadata, T, Function<T, R>, Tag...) - Method in class io.helidon.metrics.api.AbstractRegistry
- gauge(MetricID, Supplier<T>) - Method in class io.helidon.metrics.api.AbstractRegistry
- gauge(MetricID, T, Function<T, R>) - Method in class io.helidon.metrics.api.AbstractRegistry
- getConcurrentGauge(MetricID) - Method in class io.helidon.metrics.api.AbstractRegistry
- getConcurrentGauges() - Method in class io.helidon.metrics.api.AbstractRegistry
- getConcurrentGauges(MetricFilter) - Method in class io.helidon.metrics.api.AbstractRegistry
- getCounter(MetricID) - Method in class io.helidon.metrics.api.AbstractRegistry
- getCounters() - Method in class io.helidon.metrics.api.AbstractRegistry
- getCounters(MetricFilter) - Method in class io.helidon.metrics.api.AbstractRegistry
- getGauge(MetricID) - Method in class io.helidon.metrics.api.AbstractRegistry
- getGauges() - Method in class io.helidon.metrics.api.AbstractRegistry
- getGauges(MetricFilter) - Method in class io.helidon.metrics.api.AbstractRegistry
- getHistogram(MetricID) - Method in class io.helidon.metrics.api.AbstractRegistry
- getHistograms() - Method in class io.helidon.metrics.api.AbstractRegistry
- getHistograms(MetricFilter) - Method in class io.helidon.metrics.api.AbstractRegistry
- getInstance() - Static method in interface io.helidon.metrics.api.RegistryFactory
-
Returns the singleton instance of the
RegistryFactory, either the initial default value or the one resulting from the most recent prior use ofRegistryFactory.getInstance(MetricsSettings)orRegistryFactory.getInstance(Config). - getInstance(Config) - Static method in interface io.helidon.metrics.api.RegistryFactory
-
Deprecated.Use
RegistryFactory.getInstance(MetricsSettings)instead - getInstance(ComponentMetricsSettings) - Static method in interface io.helidon.metrics.api.RegistryFactory
-
Returns a
RegistryFactoryaccording to theComponentMetricsSettingsprovided and the underlying overall metrics settings. - getInstance(MetricsSettings) - Static method in interface io.helidon.metrics.api.RegistryFactory
-
Returns a
RegistryFactoryaccording to theMetricsSettingsprovided and makes the instance the new value of the singleton. - getMetadata() - Method in class io.helidon.metrics.api.AbstractRegistry
- getMetadata(String) - Method in class io.helidon.metrics.api.AbstractRegistry
- getMeter(MetricID) - Method in class io.helidon.metrics.api.AbstractRegistry
- getMeters() - Method in class io.helidon.metrics.api.AbstractRegistry
- getMeters(MetricFilter) - Method in class io.helidon.metrics.api.AbstractRegistry
- getMetric(MetricID) - Method in class io.helidon.metrics.api.AbstractRegistry
- getMetric(MetricID) - Method in interface io.helidon.metrics.api.Registry
-
Metric instance for a metric ID.
- getMetric(MetricID, Class<T>) - Method in class io.helidon.metrics.api.AbstractRegistry
- getMetricIDs() - Method in class io.helidon.metrics.api.AbstractRegistry
- getMetrics() - Method in class io.helidon.metrics.api.AbstractRegistry
- getMetrics(Class<T>, MetricFilter) - Method in class io.helidon.metrics.api.AbstractRegistry
- getMetrics(MetricFilter) - Method in class io.helidon.metrics.api.AbstractRegistry
- getNames() - Method in class io.helidon.metrics.api.AbstractRegistry
- getRegistry(MetricRegistry.Type) - Method in interface io.helidon.metrics.api.RegistryFactory
-
Returns a
MetricRegistryinstance of the requested type. - getSimpleTimer(MetricID) - Method in class io.helidon.metrics.api.AbstractRegistry
- getSimpleTimers() - Method in class io.helidon.metrics.api.AbstractRegistry
- getSimpleTimers(MetricFilter) - Method in class io.helidon.metrics.api.AbstractRegistry
- getTimer(MetricID) - Method in class io.helidon.metrics.api.AbstractRegistry
- getTimers() - Method in class io.helidon.metrics.api.AbstractRegistry
- getTimers(MetricFilter) - Method in class io.helidon.metrics.api.AbstractRegistry
- getType() - Method in class io.helidon.metrics.api.AbstractRegistry
- GLOBAL_TAGS_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.MetricsSettings.Builder
-
Config key for comma-separated,
tag=valueglobal tag settings. - globalTags() - Method in interface io.helidon.metrics.api.MetricsSettings
-
Returns the global tags, if any.
- globalTags(Map<String, String>) - Method in interface io.helidon.metrics.api.MetricsSettings.Builder
-
Sets the global tags to be applied to all metrics.
H
- hashCode() - Method in record class io.helidon.metrics.api.MetricInstance
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.helidon.metrics.api.MetricsForMetadata
-
Returns a hash code value for this object.
- HelidonMetric - Interface in io.helidon.metrics.api
-
Helidon-required behavior for each type (e.g., full-featured or no-op) of metric implementation.
- histogram(String) - Method in class io.helidon.metrics.api.AbstractRegistry
- histogram(String, Tag...) - Method in class io.helidon.metrics.api.AbstractRegistry
- histogram(Metadata) - Method in class io.helidon.metrics.api.AbstractRegistry
- histogram(Metadata, Tag...) - Method in class io.helidon.metrics.api.AbstractRegistry
- histogram(MetricID) - Method in class io.helidon.metrics.api.AbstractRegistry
I
- id() - Method in record class io.helidon.metrics.api.MetricInstance
-
Returns the value of the
idrecord component. - include(String) - Method in interface io.helidon.metrics.api.RegistryFilterSettings.Builder
-
Sets the refex for names to include.
- INCLUDE_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.RegistryFilterSettings.Builder
-
Config key within the
filtersection for the regex for names to include. - instance() - Static method in interface io.helidon.metrics.api.SystemTagsManager
-
Returns the initialized instance of the tags manager.
- io.helidon.metrics.api - module io.helidon.metrics.api
-
Helidon metrics API.
- 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.
- io.helidon.metrics.api.spi - package io.helidon.metrics.api.spi
-
SPI for the metrics API.
- isBaseMetricEnabled(String) - Method in interface io.helidon.metrics.api.BaseMetricsSettings
- isDeleted() - Method in class io.helidon.metrics.api.AbstractMetric
- isDeleted() - Method in interface io.helidon.metrics.api.HelidonMetric
- isEnabled() - Method in interface io.helidon.metrics.api.BaseMetricsSettings.Builder
- isEnabled() - Method in interface io.helidon.metrics.api.BaseMetricsSettings
- isEnabled() - Method in interface io.helidon.metrics.api.ComponentMetricsSettings
- isEnabled() - Method in interface io.helidon.metrics.api.MetricsSettings
- isEnabled() - Method in interface io.helidon.metrics.api.RegistrySettings.Builder
- isEnabled() - Method in interface io.helidon.metrics.api.RegistrySettings
-
Returns whether metrics of this type are enabled.
- isExtended() - Method in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings.Builder
-
Whether extended KPIs are enabled.
- isExtended() - Method in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings
- isMarkedAsDeleted(Metric) - Static method in class io.helidon.metrics.api.AbstractRegistry
-
Indicates whether the specific metrics has been marked as deleted.
- isMarkedAsDeleted(Metric) - Static method in interface io.helidon.metrics.api.HelidonMetric
-
Indicates if the specified metric is known to have been marked as deleted.
- isMetricEnabled(String) - Method in interface io.helidon.metrics.api.RegistrySettings
-
Returns whether the specified metric name is enabled or not, factoring in the enabled setting for this type as a whole with the regex pattern.
- isMetricEnabled(MetricRegistry.Type, String) - Method in interface io.helidon.metrics.api.MetricsSettings
-
Reports whether the specified metric is enabled in the indicated registry type.
K
- KEY_PERFORMANCE_INDICATORS_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings.Builder
-
Config key for extended key performance indicator metrics settings.
- KEY_PERFORMANCE_INDICATORS_EXTENDED_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings.Builder
-
Config key for
enabledsetting of the extended KPI metrics. - KEY_PERFORMANCE_INDICATORS_EXTENDED_DEFAULT - Static variable in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings.Builder
-
Default enabled setting for extended KPI metrics.
- KeyPerformanceIndicatorMetricsSettings - Interface in io.helidon.metrics.api
-
Settings for key performance indicator (KPI) metrics.
- KeyPerformanceIndicatorMetricsSettings.Builder - Interface in io.helidon.metrics.api
-
Override default settings.
- keyPerformanceIndicatorSettings() - Method in interface io.helidon.metrics.api.MetricsSettings
- keyPerformanceIndicatorSettings(KeyPerformanceIndicatorMetricsSettings.Builder) - Method in interface io.helidon.metrics.api.MetricsSettings.Builder
-
Set the KPI metrics settings.
L
- label() - Method in class io.helidon.metrics.api.LabeledSample
- label() - Method in interface io.helidon.metrics.api.Sample.Labeled
-
Value label.
- label() - Method in interface io.helidon.metrics.api.spi.ExemplarService
-
Returns a label using whatever current context is available.
- labeled(long) - Static method in interface io.helidon.metrics.api.Sample
-
Create a labeled value.
- LabeledSample - Class in io.helidon.metrics.api
-
Base implementation of
Sample.Labeled. - LabeledSample(long, String, long) - Constructor for class io.helidon.metrics.api.LabeledSample
-
Create a sample.
- LabeledSnapshot - Interface in io.helidon.metrics.api
-
Internal interface prescribing minimum behavior of a snapshot needed to produce output.
- list(String) - Method in class io.helidon.metrics.api.AbstractRegistry
- list(String) - Method in interface io.helidon.metrics.api.Registry
-
Returns a list of metric ID/metric pairs which match the provided metric name.
- LONG_RUNNING_REQUESTS_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings.Builder
-
Config key for long-running requests settings.
- LONG_RUNNING_REQUESTS_THRESHOLD_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings.Builder
-
Config key for long-running requests threshold setting (in milliseconds).
- LONG_RUNNING_REQUESTS_THRESHOLD_MS_DEFAULT - Static variable in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings.Builder
-
Default long-running requests threshold.
- longRunningRequestThresholdMs() - Method in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings.Builder
-
Threshold (in milliseconds) for long-running requests.
- longRunningRequestThresholdMs() - Method in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings
- longRunningRequestThresholdMs(long) - Method in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings.Builder
-
Sets the long-running request threshold (in ms).
M
- markAsDeleted() - Method in class io.helidon.metrics.api.AbstractMetric
- markAsDeleted() - Method in interface io.helidon.metrics.api.HelidonMetric
-
Record that a previously-registered metric has been removed from the registry.
- max() - Method in interface io.helidon.metrics.api.LabeledSnapshot
-
Maximal value.
- mean() - Method in interface io.helidon.metrics.api.LabeledSnapshot
-
Mean value.
- median() - Method in interface io.helidon.metrics.api.LabeledSnapshot
-
Median value.
- metadata() - Method in class io.helidon.metrics.api.AbstractMetric
- metadata() - Method in interface io.helidon.metrics.api.HelidonMetric
- metadata() - Method in record class io.helidon.metrics.api.MetricsForMetadata
-
Returns the value of the
metadatarecord component. - meter(String) - Method in class io.helidon.metrics.api.AbstractRegistry
- meter(String, Tag...) - Method in class io.helidon.metrics.api.AbstractRegistry
- meter(Metadata) - Method in class io.helidon.metrics.api.AbstractRegistry
- meter(Metadata, Tag...) - Method in class io.helidon.metrics.api.AbstractRegistry
- meter(MetricID) - Method in class io.helidon.metrics.api.AbstractRegistry
- metric() - Method in record class io.helidon.metrics.api.MetricInstance
-
Returns the value of the
metricrecord component. - metricFactories() - Method in class io.helidon.metrics.api.AbstractRegistry
-
For testing.
- metricIds() - Method in record class io.helidon.metrics.api.MetricsForMetadata
-
Returns the value of the
metricIdsrecord component. - metricIdsByName(String) - Method in class io.helidon.metrics.api.AbstractRegistry
- metricIdsByName(String) - Method in interface io.helidon.metrics.api.Registry
-
Get all metric IDs for a specified name.
- metricIDsForName(String) - Method in class io.helidon.metrics.api.AbstractRegistry
-
Returns a list of metric IDs given a metric name.
- MetricInstance - Record Class in io.helidon.metrics.api
-
Tuple of a metric ID and associated metric instance.
- MetricInstance(MetricID, HelidonMetric) - Constructor for record class io.helidon.metrics.api.MetricInstance
-
Creates an instance of a
MetricInstancerecord class. - METRICS_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.ComponentMetricsSettings.Builder
-
By convention, the config key within the component's config section containing metrics settings for the component.
- METRICS_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.MetricsSettings.Builder
-
The config key containing settings for all of metrics.
- metricsByName(String) - Method in class io.helidon.metrics.api.AbstractRegistry
- metricsByName(String) - Method in interface io.helidon.metrics.api.Registry
-
Get all metrics by a specified name.
- MetricsForMetadata - Record Class in io.helidon.metrics.api
-
All metric IDs for specific metadata.
- MetricsForMetadata(Metadata, List<MetricID>) - Constructor for record class io.helidon.metrics.api.MetricsForMetadata
-
Creates an instance of a
MetricsForMetadatarecord class. - MetricsSettings - Interface in io.helidon.metrics.api
-
Settings which control behavior for metrics overall.
- MetricsSettings.Builder - Interface in io.helidon.metrics.api
-
Builder for
MetricsSettings. - min() - Method in interface io.helidon.metrics.api.LabeledSnapshot
-
Minimal value.
P
- passes(String) - Method in interface io.helidon.metrics.api.RegistryFilterSettings
-
Reports whether a given metric name passes the filter.
- prepareMetricFactories() - Method in class io.helidon.metrics.api.AbstractRegistry
-
Provides a map from MicroProfile metric type to a factory which creates a concrete metric instance of the MP metric type which also extends the implementation metric base class for the concrete implementation (e.g., no-op or full-featured).
- prepareMetricToTypeMap() - Method in class io.helidon.metrics.api.AbstractRegistry
-
Prepares the map from Java types of implementation metrics to the corresponding
MetricType.
Q
- QUALIFIED_LONG_RUNNING_REQUESTS_THRESHOLD_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.KeyPerformanceIndicatorMetricsSettings.Builder
-
Configuration key for long-running requests extended configuration.
R
- register(String, T) - Method in class io.helidon.metrics.api.AbstractRegistry
- register(Metadata, T) - Method in class io.helidon.metrics.api.AbstractRegistry
- register(Metadata, T, Tag...) - Method in class io.helidon.metrics.api.AbstractRegistry
- REGISTRIES_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.MetricsSettings.Builder
-
Config key within the config
metricssection containing settings for individual registries. - Registry - Interface in io.helidon.metrics.api
-
Helidon Metric registry.
- RegistryFactory - Interface in io.helidon.metrics.api
-
Behavior of a
RegistryFactory, capable of providing metrics registries of various types (application, base, vendor) plus static methods for: creating "free-standing" registry factories according toMetricsSettingsorConfig(see thecreatemethods), retrieving the singleton registry factory or updating it according toMetricsSettingsorConfig(see thegetInstancemethods), and retrieving the appropriate registry factory for a metrics-capable component, based on the component's own metrics settings combined with the overall metrics settings and whether full-featured metrics are available on the path (see theRegistryFactory.getInstance()method). - RegistryFactoryProvider - Interface in io.helidon.metrics.api.spi
-
Provides
RegistryFactoryinstances. - RegistryFilterSettings - Interface in io.helidon.metrics.api
-
Filter settings for registries.
- RegistryFilterSettings.Builder - Interface in io.helidon.metrics.api
-
Builder for a new
RegistryFilterSettingsinstance. - registrySettings(MetricRegistry.Type) - Method in interface io.helidon.metrics.api.MetricsSettings
-
Returns the
RegistrySettingsfor the indicated registry type. - registrySettings(MetricRegistry.Type, RegistrySettings) - Method in interface io.helidon.metrics.api.MetricsSettings.Builder
-
Sets the registry settings for the specified registry type.
- RegistrySettings - Interface in io.helidon.metrics.api
-
Settings which control metrics within registries (application, vendor, base) as a group or individually.
- RegistrySettings.Builder - Interface in io.helidon.metrics.api
-
Builder for
RegistrySettings. - registryType() - Method in class io.helidon.metrics.api.AbstractMetric
- registryType() - Method in interface io.helidon.metrics.api.HelidonMetric
- remove(String) - Method in class io.helidon.metrics.api.AbstractRegistry
-
Removes a metric by name.
- remove(MetricID) - Method in class io.helidon.metrics.api.AbstractRegistry
-
Removes a metric by ID.
- removeMatching(MetricFilter) - Method in class io.helidon.metrics.api.AbstractRegistry
S
- sample() - Method in interface io.helidon.metrics.api.Sample.Derived
-
Sample.
- sample() - Method in interface io.helidon.metrics.api.SampledMetric
-
Sample (if available).
- Sample - Interface in io.helidon.metrics.api
-
Common behavior to all types of samples.
- Sample.Derived - Interface in io.helidon.metrics.api
-
Sample that does not exist as an actual observation but is derived from actual observations.
- Sample.Labeled - Interface in io.helidon.metrics.api
-
A sample with a label and a timestamp, typically representing actual observations (rather than derived values).
- sample75thPercentile() - Method in interface io.helidon.metrics.api.LabeledSnapshot
-
75th percentile value.
- sample95thPercentile() - Method in interface io.helidon.metrics.api.LabeledSnapshot
-
95th percentile value.
- sample98thPercentile() - Method in interface io.helidon.metrics.api.LabeledSnapshot
-
98th percentile value.
- sample999thPercentile() - Method in interface io.helidon.metrics.api.LabeledSnapshot
-
99.9 percentile value.
- sample99thPercentile() - Method in interface io.helidon.metrics.api.LabeledSnapshot
-
99th percentile value.
- SampledMetric - Interface in io.helidon.metrics.api
-
A metric capable of providing samples.
- simpleTimer(String) - Method in class io.helidon.metrics.api.AbstractRegistry
- simpleTimer(String, Tag...) - Method in class io.helidon.metrics.api.AbstractRegistry
- simpleTimer(Metadata) - Method in class io.helidon.metrics.api.AbstractRegistry
- simpleTimer(Metadata, Tag...) - Method in class io.helidon.metrics.api.AbstractRegistry
- simpleTimer(MetricID) - Method in class io.helidon.metrics.api.AbstractRegistry
- snapshot() - Method in interface io.helidon.metrics.api.SnapshotMetric
-
Snapshot of the metric.
- SnapshotMetric - Interface in io.helidon.metrics.api
-
A metric that is capable of providing snapshots.
- start() - Method in interface io.helidon.metrics.api.RegistryFactory
-
Called to start required background tasks of a factory (if any).
- stdDev() - Method in interface io.helidon.metrics.api.LabeledSnapshot
-
Standard deviation.
- stop() - Method in interface io.helidon.metrics.api.RegistryFactory
-
Called to stop required background tasks of a factory (if any).
- stream() - Method in class io.helidon.metrics.api.AbstractRegistry
-
Returns a stream of
Map.Entryfor this registry for enabled metrics. - stream() - Method in interface io.helidon.metrics.api.Registry
-
Steam all metrics from this registry.
- SystemTagsManager - Interface in io.helidon.metrics.api
-
Deals with global and app-level tags to be included in output for all metrics.
T
- timer(String) - Method in class io.helidon.metrics.api.AbstractRegistry
- timer(String, Tag...) - Method in class io.helidon.metrics.api.AbstractRegistry
- timer(Metadata) - Method in class io.helidon.metrics.api.AbstractRegistry
- timer(Metadata, Tag...) - Method in class io.helidon.metrics.api.AbstractRegistry
- timer(MetricID) - Method in class io.helidon.metrics.api.AbstractRegistry
- timestamp() - Method in class io.helidon.metrics.api.LabeledSample
- timestamp() - Method in interface io.helidon.metrics.api.Sample.Labeled
-
Timestamp the value was recorded.
- toImpl(Metadata, Metric) - Method in class io.helidon.metrics.api.AbstractRegistry
-
Creates a new instance of an implementation wrapper around the indicated metric.
- toString() - Method in class io.helidon.metrics.api.AbstractRegistry
- toString() - Method in record class io.helidon.metrics.api.MetricInstance
-
Returns a string representation of this record class.
- toString() - Method in record class io.helidon.metrics.api.MetricsForMetadata
-
Returns a string representation of this record class.
- type() - Method in class io.helidon.metrics.api.AbstractRegistry
-
Returns type of this registry.
- type() - Method in interface io.helidon.metrics.api.Registry
-
Registry type.
- TYPE_CONFIG_KEY - Static variable in interface io.helidon.metrics.api.RegistrySettings.Builder
-
Config key within the registry's config section identifying which registry type the settings apply to.
U
- update(MetricsSettings) - Method in interface io.helidon.metrics.api.RegistryFactory
-
Updates the metrics settings for the
RegistryFactory. - update(RegistrySettings) - Method in class io.helidon.metrics.api.AbstractRegistry
-
Update the registry settings for this registry.
V
- value() - Method in class io.helidon.metrics.api.LabeledSample
- value() - Method in interface io.helidon.metrics.api.Sample.Derived
-
Derived value (usually computed).
- value() - Method in interface io.helidon.metrics.api.Sample.Labeled
-
The value.
- value(double) - Method in interface io.helidon.metrics.api.LabeledSnapshot
-
Value of a specific quantile.
Z
- ZERO - Static variable in interface io.helidon.metrics.api.Sample.Derived
-
A derived sample with zero value and no reference.
All Classes and Interfaces|All Packages|Constant Field Values
RegistryFactory.create(MetricsSettings)instead