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 theGlobalConfig.static MetricsFactoryMetricsFactory.getInstance(Config metricsConfigNode) Returns a new metrics factory instance from a highest-weight provider using the providedConfigto 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 TypeMethodDescriptionMetricsFactoryProvider.create(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.