Uses of Interface
io.helidon.metrics.api.HelidonMetric
Packages that use HelidonMetric
Package
Description
Metrics support for Java SE, uses the Microprofile metrics APIs and formats.
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.
Tools shared by endpoints serving Metrics.
-
Uses of HelidonMetric in io.helidon.metrics
Methods in io.helidon.metrics that return types with arguments of type HelidonMetricModifier and TypeMethodDescriptionprotected Map<MetricType,BiFunction<String, Metadata, HelidonMetric>> Registry.metricFactories()protected Map<MetricType,BiFunction<String, Metadata, HelidonMetric>> Registry.prepareMetricFactories()protected Map<Class<? extends HelidonMetric>,MetricType> Registry.prepareMetricToTypeMap() -
Uses of HelidonMetric in io.helidon.metrics.api
Classes in io.helidon.metrics.api that implement HelidonMetricModifier and TypeClassDescriptionclassCommon reusable implementation for any category of metric implementation (full-featured, no-op).Methods in io.helidon.metrics.api that return HelidonMetricModifier and TypeMethodDescriptionMetric instance for a metric ID.MetricInstance.metric()Returns the value of themetricrecord component.protected abstract HelidonMetricCreates a new instance of an implementation wrapper around the indicated metric.Methods in io.helidon.metrics.api that return types with arguments of type HelidonMetricModifier and TypeMethodDescriptionprotected Map<MetricType,BiFunction<String, Metadata, HelidonMetric>> AbstractRegistry.metricFactories()For testing.protected abstract Map<MetricType,BiFunction<String, Metadata, HelidonMetric>> AbstractRegistry.prepareMetricFactories()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).protected abstract Map<Class<? extends HelidonMetric>,MetricType> AbstractRegistry.prepareMetricToTypeMap()Prepares the map from Java types of implementation metrics to the correspondingMetricType.Constructors in io.helidon.metrics.api with parameters of type HelidonMetricModifierConstructorDescriptionMetricInstance(MetricID id, HelidonMetric metric) Creates an instance of aMetricInstancerecord class. -
Uses of HelidonMetric in io.helidon.metrics.serviceapi
Methods in io.helidon.metrics.serviceapi with parameters of type HelidonMetricModifier and TypeMethodDescriptionstatic voidJsonFormat.jsonMeta(JsonObjectBuilder builder, HelidonMetric helidonMetric, List<MetricID> metricIds) Update JSON metric metadata response for specified metric and its ids.static StringPrometheusFormat.prometheusData(MetricID metricId, HelidonMetric value, boolean withHelpType) Create Prometheus metric response for a specific metric instance.