Package | Description |
---|---|
com.yammer.metrics.core | |
com.yammer.metrics.reporting | |
com.yammer.metrics.stats |
Modifier and Type | Class and Description |
---|---|
static class |
Clock.CpuTimeClock
A clock implementation which returns the current thread's CPU time.
|
static class |
Clock.UserTimeClock
A clock implementation which returns the current time in epoch nanoseconds.
|
Modifier and Type | Method and Description |
---|---|
static Clock |
Clock.defaultClock()
The default clock to use.
|
Constructor and Description |
---|
MetricsRegistry(Clock clock)
Creates a new
MetricsRegistry with the given Clock instance. |
Modifier and Type | Field and Description |
---|---|
protected Clock |
GraphiteReporter.clock |
Constructor and Description |
---|
ConsoleReporter(MetricsRegistry metricsRegistry,
PrintStream out,
MetricPredicate predicate,
Clock clock,
TimeZone timeZone)
Creates a new
ConsoleReporter for a given metrics registry. |
ConsoleReporter(MetricsRegistry metricsRegistry,
PrintStream out,
MetricPredicate predicate,
Clock clock,
TimeZone timeZone,
Locale locale)
Creates a new
ConsoleReporter for a given metrics registry. |
CsvReporter(MetricsRegistry metricsRegistry,
MetricPredicate predicate,
File outputDir,
Clock clock)
Creates a new
CsvReporter which will write metrics from the given
MetricsRegistry which match the given MetricPredicate to CSV files in the
given output directory. |
GraphiteReporter(MetricsRegistry metricsRegistry,
String prefix,
MetricPredicate predicate,
SocketProvider socketProvider,
Clock clock)
Creates a new
GraphiteReporter . |
GraphiteReporter(MetricsRegistry metricsRegistry,
String prefix,
MetricPredicate predicate,
SocketProvider socketProvider,
Clock clock,
VirtualMachineMetrics vm)
Creates a new
GraphiteReporter . |
GraphiteReporter(MetricsRegistry metricsRegistry,
String prefix,
MetricPredicate predicate,
SocketProvider socketProvider,
Clock clock,
VirtualMachineMetrics vm,
String name)
Creates a new
GraphiteReporter . |
MetricsServlet(Clock clock,
VirtualMachineMetrics vm,
MetricsRegistry registry,
com.fasterxml.jackson.core.JsonFactory factory,
boolean showJvmMetrics)
Creates a new
MetricsServlet . |
Constructor and Description |
---|
ExponentiallyDecayingSample(int reservoirSize,
double alpha,
Clock clock)
Creates a new
ExponentiallyDecayingSample . |
Copyright © 2014. All Rights Reserved.