| Package | Description |
|---|---|
| com.yammer.metrics | |
| com.yammer.metrics.core | |
| com.yammer.metrics.reporting | |
| com.yammer.metrics.util |
| Modifier and Type | Method and Description |
|---|---|
static <T> Gauge<T> |
Metrics.newGauge(Class<?> klass,
String name,
Gauge<T> metric)
Given a new
Gauge, registers it under the given class and
name. |
static <T> Gauge<T> |
Metrics.newGauge(Class<?> klass,
String name,
String scope,
Gauge<T> metric)
Given a new
Gauge, registers it under the given class and
name. |
static <T> Gauge<T> |
Metrics.newGauge(MetricName metricName,
Gauge<T> metric)
Given a new
Gauge, registers it under the given metric name. |
| Modifier and Type | Method and Description |
|---|---|
static <T> Gauge<T> |
Metrics.newGauge(Class<?> klass,
String name,
Gauge<T> metric)
Given a new
Gauge, registers it under the given class and
name. |
static <T> Gauge<T> |
Metrics.newGauge(Class<?> klass,
String name,
String scope,
Gauge<T> metric)
Given a new
Gauge, registers it under the given class and
name. |
static <T> Gauge<T> |
Metrics.newGauge(MetricName metricName,
Gauge<T> metric)
Given a new
Gauge, registers it under the given metric name. |
| Modifier and Type | Method and Description |
|---|---|
<T> Gauge<T> |
MetricsRegistry.newGauge(Class<?> klass,
String name,
Gauge<T> metric)
Given a new
Gauge, registers it under the given class and name. |
<T> Gauge<T> |
MetricsRegistry.newGauge(Class<?> klass,
String name,
String scope,
Gauge<T> metric)
Given a new
Gauge, registers it under the given class and name. |
<T> Gauge<T> |
MetricsRegistry.newGauge(MetricName metricName,
Gauge<T> metric)
Given a new
Gauge, registers it under the given metric name. |
| Modifier and Type | Method and Description |
|---|---|
<T> Gauge<T> |
MetricsRegistry.newGauge(Class<?> klass,
String name,
Gauge<T> metric)
Given a new
Gauge, registers it under the given class and name. |
<T> Gauge<T> |
MetricsRegistry.newGauge(Class<?> klass,
String name,
String scope,
Gauge<T> metric)
Given a new
Gauge, registers it under the given class and name. |
<T> Gauge<T> |
MetricsRegistry.newGauge(MetricName metricName,
Gauge<T> metric)
Given a new
Gauge, registers it under the given metric name. |
void |
MetricProcessor.processGauge(MetricName name,
Gauge<?> gauge,
T context)
Process the given gauge.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CsvReporter.processGauge(MetricName name,
Gauge<?> gauge,
CsvReporter.Context context) |
void |
JmxReporter.processGauge(MetricName name,
Gauge<?> gauge,
com.yammer.metrics.reporting.JmxReporter.Context context) |
void |
ConsoleReporter.processGauge(MetricName name,
Gauge<?> gauge,
PrintStream stream) |
| Modifier and Type | Class and Description |
|---|---|
class |
JmxGauge
A gauge which exposes an attribute of a JMX MBean.
|
class |
PercentGauge
A
RatioGauge extension which returns a percentage, not a ratio. |
class |
RatioGauge
A gauge which measures the ratio of one value to another.
|
class |
ToggleGauge
Returns a
1 the first time it's called, a 0 every time after that. |
Copyright © 2012. All Rights Reserved.