Package | Description |
---|---|
com.codahale.metrics | |
com.codahale.metrics.ganglia | |
com.codahale.metrics.graphite | |
com.codahale.metrics.jvm |
Modifier and Type | Class and Description |
---|---|
class |
CachedGauge<T>
A
Gauge implementation which caches its value for a period of time. |
class |
DerivativeGauge<F,T>
A gauge whose value is derived from the value of another gauge.
|
class |
JmxAttributeGauge
A
Gauge implementation which queries an MBeanServerConnection for an attribute of an object. |
class |
RatioGauge
A gauge which measures the ratio of one value to another.
|
Modifier and Type | Method and Description |
---|---|
SortedMap<String,Gauge> |
MetricRegistry.getGauges()
Returns a map of all the gauges in the registry and their names.
|
SortedMap<String,Gauge> |
MetricRegistry.getGauges(MetricFilter filter)
Returns a map of all the gauges in the registry and their names which match the given filter.
|
Modifier and Type | Method and Description |
---|---|
void |
MetricRegistryListener.onGaugeAdded(String name,
Gauge<?> gauge)
Called when a
Gauge is added to the registry. |
void |
MetricRegistryListener.Base.onGaugeAdded(String name,
Gauge<?> gauge) |
Modifier and Type | Method and Description |
---|---|
void |
Slf4jReporter.report(SortedMap<String,Gauge> gauges,
SortedMap<String,Counter> counters,
SortedMap<String,Histogram> histograms,
SortedMap<String,Meter> meters,
SortedMap<String,Timer> timers) |
abstract void |
ScheduledReporter.report(SortedMap<String,Gauge> gauges,
SortedMap<String,Counter> counters,
SortedMap<String,Histogram> histograms,
SortedMap<String,Meter> meters,
SortedMap<String,Timer> timers)
Called periodically by the polling thread.
|
void |
CsvReporter.report(SortedMap<String,Gauge> gauges,
SortedMap<String,Counter> counters,
SortedMap<String,Histogram> histograms,
SortedMap<String,Meter> meters,
SortedMap<String,Timer> timers) |
void |
ConsoleReporter.report(SortedMap<String,Gauge> gauges,
SortedMap<String,Counter> counters,
SortedMap<String,Histogram> histograms,
SortedMap<String,Meter> meters,
SortedMap<String,Timer> timers) |
Constructor and Description |
---|
DerivativeGauge(Gauge<F> base)
Creates a new derivative with the given base gauge.
|
Modifier and Type | Method and Description |
---|---|
void |
GangliaReporter.report(SortedMap<String,Gauge> gauges,
SortedMap<String,Counter> counters,
SortedMap<String,Histogram> histograms,
SortedMap<String,Meter> meters,
SortedMap<String,Timer> timers) |
Modifier and Type | Method and Description |
---|---|
void |
GraphiteReporter.report(SortedMap<String,Gauge> gauges,
SortedMap<String,Counter> counters,
SortedMap<String,Histogram> histograms,
SortedMap<String,Meter> meters,
SortedMap<String,Timer> timers) |
Modifier and Type | Class and Description |
---|---|
class |
FileDescriptorRatioGauge
A gauge for the ratio of used to total file descriptors.
|
Copyright © 2014. All Rights Reserved.