Uses of Interface
io.helidon.metrics.api.MetricsConfig
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.
Micrometer wrapper for Helidon metrics API.
SPI for Helidon metrics.
Microprofile metrics specification implementation.
Helidon WebServer Observability Metrics Support.
-
Uses of MetricsConfig in io.helidon.metrics.api
Modifier and TypeClassDescriptionstatic class
MetricsConfig.BuilderBase<BUILDER extends MetricsConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends MetricsConfig> Fluent API builder base forMetricsConfig
.Modifier and TypeClassDescriptionprotected static class
Generated implementation of the prototype, can be extended by descendant prototype implementations.Modifier and TypeMethodDescriptionMetricsConfig.Builder.build()
MetricsConfig.Builder.buildPrototype()
static MetricsConfig
MetricsConfig.create()
Create a new instance with default values.static MetricsConfig
Create a new instance from configuration.MetricsFactory.metricsConfig()
Returns theMetricsConfig
instance used to initialize the metrics factory.Modifier and TypeMethodDescriptionstatic MetricsConfig.Builder
MetricsConfig.builder
(MetricsConfig instance) Create a new fluent API builder from an existing instance.static SystemTagsManager
SystemTagsManager.create
(MetricsConfig metricsConfig) Creates a new system tags manager using the provided metrics settings.static MeterRegistry
Metrics.createMeterRegistry
(MetricsConfig metricsConfig) Creates a meter registry, not saved as the global registry, based on the provided metrics config.MetricsFactory.createMeterRegistry
(Clock clock, MetricsConfig metricsConfig) MetricsFactory.createMeterRegistry
(Clock clock, MetricsConfig metricsConfig, Consumer<Meter> onAddListener, Consumer<Meter> onRemoveListener) Creates a newMeterRegistry
using the providedClock
andMetricsConfig
and enrolling the specified listners with the new meter registry.MetricsFactory.createMeterRegistry
(MetricsConfig metricsConfig) Creates a newMeterRegistry
using the provided metrics config.MetricsFactory.createMeterRegistry
(MetricsConfig metricsConfig, Consumer<Meter> onAddListener, Consumer<Meter> onRemoveListener) Creates a newMeterRegistry
using the provided metrics config and enrolling the specified listeners with the returned meter registry.MetricsConfig.BuilderBase.from
(MetricsConfig prototype) Update this builder from an existing prototype instance.MetricsFactory.globalRegistry
(MetricsConfig metricsConfig) Creates a new global registry according to the configuration and returns it.static SystemTagsManager
SystemTagsManager.instance
(MetricsConfig metricsConfig) Creates a new system tags manager using the provide metrics settings, saving the new instance as the initialized singleton which will be returned to subsequent invocations ofSystemTagsManager.instance()
.MeterRegistry.Builder.metricsConfig
(MetricsConfig metricsConfig) Sets theMetricsConfig
for the meter registry, defaulting to the metrics config with which theMetricsFactory
was created. -
Uses of MetricsConfig in io.helidon.metrics.providers.micrometer
Modifier and TypeMethodDescriptionMicrometerMetricsFactoryProvider.create
(Config rootConfig, MetricsConfig metricsConfig, Collection<MetersProvider> metersProviders) MicrometerPrometheusFormatterProvider.formatter
(MediaType mediaType, MetricsConfig metricsConfig, MeterRegistry meterRegistry, Optional<String> scopeTagName, Iterable<String> scopeSelection, Iterable<String> nameSelection) -
Uses of MetricsConfig in io.helidon.metrics.spi
Modifier and TypeMethodDescriptiondefault MetricsConfig
MetricsProgrammaticConfig.apply
(MetricsConfig metricsConfig) Creates a newMetricsConfig
instance by applying overrides from this programmatic config instance.Modifier and TypeMethodDescriptiondefault MetricsConfig
MetricsProgrammaticConfig.apply
(MetricsConfig metricsConfig) Creates a newMetricsConfig
instance by applying overrides from this programmatic config instance.MetricsFactoryProvider.create
(Config rootConfig, MetricsConfig metricsConfig, Collection<MetersProvider> metersProviders) Creates a newMetricsFactory
from which the caller can obtainMeterRegistry
andMeter.Builder
instances.MeterRegistryFormatterProvider.formatter
(MediaType mediaType, MetricsConfig metricsConfig, MeterRegistry meterRegistry, Optional<String> scopeTagName, Iterable<String> scopeSelection, Iterable<String> nameSelection) Returns, if possible, aMeterRegistryFormatter
capable of preparing output according to the specifiedMediaType
.void
MeterRegistryLifeCycleListener.onCreate
(MeterRegistry meterRegistry, MetricsConfig metricsConfig) Receives notification when a newMeterRegistry
is created. -
Uses of MetricsConfig in io.helidon.microprofile.metrics
Modifier and TypeMethodDescriptionvoid
RegistryFactoryManager.onCreate
(MeterRegistry meterRegistry, MetricsConfig metricsConfig) -
Uses of MetricsConfig in io.helidon.webserver.observe.metrics
Modifier and TypeMethodDescriptionMetricsObserverConfig.BuilderBase.metricsConfig()
AssignsMetricsSettings
which will be used in creating theMetricsSupport
instance at build-time.MetricsObserverConfig.BuilderBase.MetricsObserverConfigImpl.metricsConfig()
Modifier and TypeMethodDescriptionJsonMeterRegistryFormatterProvider.formatter
(MediaType mediaType, MetricsConfig metricsConfig, MeterRegistry meterRegistry, Optional<String> scopeTagName, Iterable<String> scopeSelection, Iterable<String> nameSelection) MetricsObserverConfig.BuilderBase.metricsConfig
(MetricsConfig metricsConfig) AssignsMetricsSettings
which will be used in creating theMetricsSupport
instance at build-time.Modifier and TypeMethodDescriptionMetricsObserverConfig.BuilderBase.metricsConfig
(Supplier<? extends MetricsConfig> supplier) AssignsMetricsSettings
which will be used in creating theMetricsSupport
instance at build-time.