Package io.dropwizard.metrics5
package io.dropwizard.metrics5
-
ClassDescriptionCachedGauge<T>A
Gauge
implementation which caches its value for a period of time.An abstraction for how time passes.A clock implementation which returns the current time in epoch nanoseconds.A reporter which outputs measurements to aPrintStream
, likeSystem.out
.A builder forConsoleReporter
instances.An incrementing and decrementing counter metric.An interface for metric types which have counts.This interface allows a pluggable implementation of what file names theCsvReporter
will write to.A reporter which creates a comma-separated values file of the measurements for each metric.A builder forCsvReporter
instances.Similar toGauge
, but metric value is updated via callingDefaultSettableGauge.setValue(T)
instead.DerivativeGauge<F,T> A gauge whose value is derived from the value of another gauge.An exponentially-weighted moving average.An exponentially-decaying random reservoir oflong
s.A triple (one, five and fifteen minutes) of exponentially-weighted moving average rates as needed byMeter
.This implementation of theCsvFileProvider
will always return the same name for the same metric.Gauge<T>A gauge metric is an instantaneous reading of a particular value.A metric which calculates the distribution of a value.AnExecutorService
that monitors the number of tasks submitted, running, completed and also keeps aTimer
for the task duration.AnScheduledExecutorService
that monitors the number of tasks submitted, running, completed and also keeps aTimer
for the task duration.AThreadFactory
that monitors the number of threads created, running and terminated.A lock-free exponentially-decaying random reservoir oflong
s.By default this uses a size of 1028 elements, which offers a 99.9% confidence level with a 5% margin of error assuming a normal distribution, and an alpha factor of 0.015, which heavily biases the reservoir to the past 5 minutes of measurements.A meter metric which measures mean throughput and one-, five-, and fifteen-minute moving average throughputs.An object which maintains mean and moving average rates.A tag interface to indicate that a class is a metric.Represents attributes of metrics which can be reported.A filter used to determine whether or not a metric should be reported, among other things.A metric name with the ability to include semantic tags.A registry of metric instances.MetricRegistry.MetricSupplier<T extends Metric>Listeners for events from the registry.A no-op implementation ofMetricRegistryListener
.A set of named metrics.A triple of moving averages (one-, five-, and fifteen-minute moving average) as needed byMeter
.A registry of metric instances which never creates or registers any metrics and returns no-op implementations of any metric type.A gauge which measures the ratio of one value to another.A ratio of one quantity to another.A statistically representative reservoir of a data stream.An object which samples values.The abstract base class for all scheduled reporters (i.e., reporters which process a registry's metrics periodically).Similar toGauge
, but metric value is updated via callingSettableGauge.setValue(T)
instead.A map of shared, named metric registries.A reporter class for logging metrics values to a SLF4JLogger
periodically, similar toConsoleReporter
orCsvReporter
, but using the SLF4J framework instead.A builder forSlf4jReporter
instances.AReservoir
implementation backed by a sliding window that stores only the measurements made in the lastN
seconds (or other time unit).A triple of simple moving average rates (one, five and fifteen minutes rates) as needed byMeter
.AReservoir
implementation backed by a sliding window that stores only the measurements made in the lastN
seconds (or other time unit).AReservoir
implementation backed by a sliding window that stores the lastN
measurements.A statistical snapshot of aSnapshot
.An interface for metric types which aggregate a sumA timer metric which aggregates timing durations and provides duration statistics, plus throughput statistics viaMeter
.A timing context.A random sampling reservoir of a stream oflong
s.A statistical snapshot of aUniformSnapshot
.A statistical snapshot of aWeightedSnapshot
.A single sample item with value and its weights forWeightedSnapshot
.