Uses of Interface
io.helidon.metrics.api.Meter
Package
Description
Integrating with OCI Metrics.
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.
-
Uses of Meter in io.helidon.integrations.oci.metrics
-
Uses of Meter in io.helidon.metrics.api
Modifier and TypeInterfaceDescriptionstatic interface
Meter.Builder<B extends Meter.Builder<B,
M>, M extends Meter> Common behavior of specific meter builders.Modifier and TypeInterfaceDescriptioninterface
Records a monotonically increasing value.interface
Records a distribution of values (e.g., sizes of responses returned by a server).interface
A read-only counter which wraps some other object that provides the counter value via a function.interface
Measures a value that can increase or decrease and is updated by external logic, not by explicit invocations of methods on this type.interface
Records timing information about large numbers of short-running events (e.g., HTTP requests).Modifier and TypeMethodDescriptionLocates a previously-registered meter of the specified type, matching the name and tags.<B extends Meter.Builder<B,
M>, M extends Meter>
MMeterRegistry.getOrCreate
(B builder) Locates a previously-registered meter using the name and tags in the provided builder or, if not found, registers a new one using the provided builder.static <M extends Meter,
B extends Meter.Builder<B, M>>
MMetrics.getOrCreate
(B builder) Locates a previously-registered meter using the name and tags in the provided builder or, if not found, registers a new one using the provided builder, both using the metrics factory's global registry.Locates a previously-registered meter of the specified type, matching the name and tags.Modifier and TypeMethodDescriptiondefault Meter
MetricsFactory.noOpMeter
(Meter.Builder<?, ?> builder) Returns a no-opMeter
of the type implied by the builder's runtime type, initialized with the builder's name and other required parameters.Modifier and TypeMethodDescriptionMeterRegistry.meters()
Returns all previously-registered meters.Returns previously-registered meters which match one of the specified scopes.Returns previously-registered meters which match the specifiedPredicate
.Removes a previously-registered meter.Removes a previously-registered meter with the specified ID.Removes a previously-registered meter with the specified ID and scope.Removes a previously-registered meter with the specified name and tags.Removes a previously-registered meter with the specified name, tags, and scope.Modifier and TypeMethodDescriptionboolean
Indicates if the meter has been deleted.Removes a previously-registered meter.Modifier and TypeMethodDescriptionMetricsFactory.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, Consumer<Meter> onAddListener, Consumer<Meter> onRemoveListener) Creates a newMeterRegistry
using the provided metrics config and enrolling the specified listeners with the returned meter registry.MetricsFactory.globalRegistry
(Consumer<Meter> onAddListener, Consumer<Meter> onRemoveListener, boolean backfill) Returns the globalMeterRegistry
enrolling the specified listeners to the meter registry.Returns previously-registered meters which match the specifiedPredicate
.MeterRegistry.Builder.onMeterAdded
(Consumer<Meter> addListener) Records a subscriber to meter-added events.MeterRegistry.onMeterAdded
(Consumer<Meter> onAddListener) Enroll a listener to be notified when aMeter
is added.MeterRegistry.Builder.onMeterRemoved
(Consumer<Meter> removeListener) Records a subscriber to meter-removed events.MeterRegistry.onMeterRemoved
(Consumer<Meter> onRemoveListener) Enroll a listener to be notified when aMeter
is removed.