Uses of Interface
io.dropwizard.metrics5.Metric
-
Uses of Metric in io.dropwizard.metrics5
Classes in io.dropwizard.metrics5 with type parameters of type MetricModifier and TypeInterfaceDescriptionstatic interface
MetricRegistry.MetricSupplier<T extends Metric>
Subinterfaces of Metric in io.dropwizard.metrics5Modifier and TypeInterfaceDescriptioninterface
Gauge<T>
A gauge metric is an instantaneous reading of a particular value.interface
An object which maintains mean and moving average rates.interface
A set of named metrics.interface
Similar toGauge
, but metric value is updated via callingSettableGauge.setValue(T)
instead.Classes in io.dropwizard.metrics5 that implement MetricModifier and TypeClassDescriptionclass
CachedGauge<T>
AGauge
implementation which caches its value for a period of time.class
An incrementing and decrementing counter metric.class
Similar toGauge
, but metric value is updated via callingDefaultSettableGauge.setValue(T)
instead.class
DerivativeGauge<F,
T> A gauge whose value is derived from the value of another gauge.class
A metric which calculates the distribution of a value.class
A meter metric which measures mean throughput and one-, five-, and fifteen-minute moving average throughputs.class
A registry of metric instances.final class
A registry of metric instances which never creates or registers any metrics and returns no-op implementations of any metric type.class
A gauge which measures the ratio of one value to another.class
A timer metric which aggregates timing durations and provides duration statistics, plus throughput statistics viaMeter
.Methods in io.dropwizard.metrics5 with type parameters of type MetricModifier and TypeMethodDescription<T extends Metric>
TMetricRegistry.register
(MetricName name, T metric) Given aMetric
, registers it under the given name.<T extends Metric>
TNoopMetricRegistry.register
(MetricName name, T metric) Given aMetric
, registers it under the given name.Methods in io.dropwizard.metrics5 that return types with arguments of type MetricModifier and TypeMethodDescriptionprotected ConcurrentMap<MetricName,
Metric> MetricRegistry.buildMap()
Creates a newConcurrentMap
implementation for use inside the registry.protected ConcurrentMap<MetricName,
Metric> NoopMetricRegistry.buildMap()
Creates a newConcurrentMap
implementation for use inside the registry.MetricRegistry.getMetrics()
MetricSet.getMetrics()
A map of metric names to metrics.NoopMetricRegistry.getMetrics()
A map of metric names to metrics.Methods in io.dropwizard.metrics5 with parameters of type MetricModifier and TypeMethodDescriptionboolean
MetricFilter.matches
(MetricName name, Metric metric) Returnstrue
if the metric matches the filter;false
otherwise.