| Package | Description |
|---|---|
| com.yammer.metrics.core | |
| com.yammer.metrics.reporting |
| 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. |
| 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. |
Copyright © 2012. All Rights Reserved.