Package | Description |
---|---|
com.codahale.metrics | |
com.codahale.metrics.jvm |
Modifier and Type | Interface and Description |
---|---|
interface |
Gauge<T>
A gauge metric is an instantaneous reading of a particular value.
|
interface |
Metered
An object which maintains mean and exponentially-weighted rate.
|
interface |
MetricSet
A set of named metrics.
|
Modifier and Type | Class and Description |
---|---|
class |
CachedGauge<T>
A
Gauge implementation which caches its value for a period of time. |
class |
Counter
An incrementing and decrementing counter metric.
|
class |
DerivativeGauge<F,T>
A gauge whose value is derived from the value of another gauge.
|
class |
Histogram
A metric which calculates the distribution of a value.
|
class |
JmxAttributeGauge
A
Gauge implementation which queries an MBeanServerConnection for an attribute of an object. |
class |
JvmAttributeGaugeSet
A set of gauges for the JVM name, vendor, and uptime.
|
class |
Meter
A meter metric which measures mean throughput and one-, five-, and fifteen-minute
exponentially-weighted moving average throughputs.
|
class |
MetricRegistry
A registry of metric instances.
|
class |
RatioGauge
A gauge which measures the ratio of one value to another.
|
class |
Timer
A timer metric which aggregates timing durations and provides duration statistics, plus
throughput statistics via
Meter . |
Modifier and Type | Method and Description |
---|---|
<T extends Metric> |
MetricRegistry.register(String name,
T metric)
Given a
Metric , registers it under the given name. |
Modifier and Type | Method and Description |
---|---|
protected ConcurrentMap<String,Metric> |
MetricRegistry.buildMap()
Creates a new
ConcurrentMap implementation for use inside the registry. |
Map<String,Metric> |
MetricSet.getMetrics()
A map of metric names to metrics.
|
Map<String,Metric> |
MetricRegistry.getMetrics() |
Map<String,Metric> |
JvmAttributeGaugeSet.getMetrics() |
Modifier and Type | Method and Description |
---|---|
boolean |
MetricFilter.matches(String name,
Metric metric)
Returns
true if the metric matches the filter; false otherwise. |
Modifier and Type | Class and Description |
---|---|
class |
BufferPoolMetricSet
A set of gauges for the count, usage, and capacity of the JVM's direct and mapped buffer pools.
|
class |
CachedThreadStatesGaugeSet
A variation of ThreadStatesGaugeSet that caches the ThreadInfo[] objects for
a given interval.
|
class |
ClassLoadingGaugeSet
A set of gauges for JVM classloader usage.
|
class |
FileDescriptorRatioGauge
A gauge for the ratio of used to total file descriptors.
|
class |
GarbageCollectorMetricSet
A set of gauges for the counts and elapsed times of garbage collections.
|
class |
MemoryUsageGaugeSet
A set of gauges for JVM memory usage, including stats on heap vs. non-heap memory, plus
GC-specific memory pools.
|
class |
ThreadStatesGaugeSet
A set of gauges for the number of threads in their various states and deadlock detection.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Metric> |
ThreadStatesGaugeSet.getMetrics() |
Map<String,Metric> |
MemoryUsageGaugeSet.getMetrics() |
Map<String,Metric> |
GarbageCollectorMetricSet.getMetrics() |
Map<String,Metric> |
ClassLoadingGaugeSet.getMetrics() |
Map<String,Metric> |
BufferPoolMetricSet.getMetrics() |
Copyright © 2014. All Rights Reserved.