All Classes and Interfaces
Class
Description
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 a
PrintStream
, like System.out
.A builder for
ConsoleReporter
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
the
CsvReporter
will write to.A reporter which creates a comma-separated values file of the measurements for each metric.
A builder for
CsvReporter
instances.Similar to
Gauge
, but metric value is updated via calling DefaultSettableGauge.setValue(T)
instead.A gauge whose value is derived from the value of another gauge.
An exponentially-weighted moving average.
An exponentially-decaying random reservoir of
long
s.A triple (one, five and fifteen minutes) of exponentially-weighted moving average rates as needed by
Meter
.This implementation of the
CsvFileProvider
will always return the same name
for the same metric.A gauge metric is an instantaneous reading of a particular value.
A metric which calculates the distribution of a value.
An
ExecutorService
that monitors the number of tasks submitted, running,
completed and also keeps a Timer
for the task duration.An
ScheduledExecutorService
that monitors the number of tasks submitted, running,
completed and also keeps a Timer
for the task duration.A
ThreadFactory
that monitors the number of threads created, running and terminated.A lock-free exponentially-decaying random reservoir of
long
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 registry of metric instances.
Listeners for events from the registry.
A no-op implementation of
MetricRegistryListener
.A set of named metrics.
A triple of moving averages (one-, five-, and fifteen-minute
moving average) as needed by
Meter
.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 to
Gauge
, but metric value is updated via calling SettableGauge.setValue(T)
instead.A map of shared, named metric registries.
A reporter class for logging metrics values to a SLF4J
Logger
periodically, similar to
ConsoleReporter
or CsvReporter
, but using the SLF4J framework instead.A builder for
Slf4jReporter
instances.A
Reservoir
implementation backed by a sliding window that stores only the measurements made
in the last N
seconds (or other time unit).A triple of simple moving average rates (one, five and fifteen minutes rates) as needed by
Meter
.A
Reservoir
implementation backed by a sliding window that stores only the measurements made
in the last N
seconds (or other time unit).A
Reservoir
implementation backed by a sliding window that stores the last N
measurements.A statistical snapshot of a
Snapshot
.A timer metric which aggregates timing durations and provides duration statistics, plus
throughput statistics via
Meter
.A timing context.
A random sampling reservoir of a stream of
long
s.A statistical snapshot of a
UniformSnapshot
.A statistical snapshot of a
WeightedSnapshot
.A single sample item with value and its weights for
WeightedSnapshot
.