Uses of Interface
io.helidon.metrics.api.MetricsFactory
Packages that use MetricsFactory
Package
Description
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.
SPI for Helidon metrics.
-
Uses of MetricsFactory in io.helidon.metrics.api
Methods in io.helidon.metrics.api that return MetricsFactoryModifier and TypeMethodDescriptionstatic MetricsFactoryMetricsFactory.getInstance()Returns the most-recently created implementation or, if none, a new one from a highest-weight provider available at runtime and using the "metrics" section from the current config.static MetricsFactoryMetricsFactory.getInstance(io.helidon.common.config.Config config) Deprecated, for removal: This API element is subject to removal in a future version.static MetricsFactoryMetricsFactory.getInstance(io.helidon.config.Config metricsConfigNode) Returns a new metrics factory instance from a highest-weight provider using the provided config node to set up the metrics factory and saving the resulting metrics factory as the current one, returned bygetInstance()}. -
Uses of MetricsFactory in io.helidon.metrics.spi
Methods in io.helidon.metrics.spi that return MetricsFactoryModifier and TypeMethodDescriptiondefault MetricsFactoryMetricsFactoryProvider.create(io.helidon.common.config.Config rootConfig, MetricsConfig metricsConfig, Collection<MetersProvider> metersProviders) Deprecated, for removal: This API element is subject to removal in a future version.default MetricsFactoryMetricsFactoryProvider.create(io.helidon.config.Config rootConfig, MetricsConfig metricsConfig, Collection<MetersProvider> metersProviders) Creates a newMetricsFactoryfrom which the caller can obtainMeterRegistryandMeter.Builderinstances.Methods in io.helidon.metrics.spi with parameters of type MetricsFactoryModifier and TypeMethodDescriptionCollection<Meter.Builder<?, ?>> MetersProvider.meterBuilders(MetricsFactory metricsFactory) Returns meter builders created using the specifiedMetricsFactory.
getInstance(io.helidon.config.Config)instead