Modifier and Type | Method and Description |
---|---|
Collection<Metric<?>> |
VanillaPublicMetrics.metrics()
Deprecated.
|
Collection<Metric<?>> |
SystemPublicMetrics.metrics() |
Collection<Metric<?>> |
PublicMetrics.metrics() |
Collection<Metric<?>> |
MetricReaderPublicMetrics.metrics() |
Collection<Metric<?>> |
DataSourcePublicMetrics.metrics() |
Modifier and Type | Method and Description |
---|---|
protected void |
SystemPublicMetrics.addBasicMetrics(Collection<Metric<?>> result)
Add basic system metrics.
|
protected void |
SystemPublicMetrics.addClassLoadingMetrics(Collection<Metric<?>> result)
Add class loading metrics.
|
protected void |
SystemPublicMetrics.addGarbageCollectionMetrics(Collection<Metric<?>> result)
Add garbage collection metrics.
|
protected void |
SystemPublicMetrics.addHeapMetrics(Collection<Metric<?>> result)
Add JVM heap metrics.
|
protected void |
SystemPublicMetrics.addThreadMetrics(Collection<Metric<?>> result)
Add thread metrics.
|
Modifier and Type | Method and Description |
---|---|
Metric<Long> |
Metric.increment(int amount)
Create a new
Metric with an incremented value. |
<S extends Number> |
Metric.set(S value)
Create a new
Metric with a different value. |
Modifier and Type | Method and Description |
---|---|
protected Iterable<Metric<?>> |
RichGaugeExporter.next(String group) |
protected Iterable<Metric<?>> |
PrefixMetricGroupExporter.next(String group) |
protected Iterable<Metric<?>> |
MetricCopyExporter.next(String group) |
protected abstract Iterable<Metric<?>> |
AbstractMetricExporter.next(String group)
Get the next group of metrics to write.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RichGaugeExporter.write(String group,
Collection<Metric<?>> values) |
protected void |
PrefixMetricGroupExporter.write(String group,
Collection<Metric<?>> values) |
protected void |
MetricCopyExporter.write(String group,
Collection<Metric<?>> values) |
protected abstract void |
AbstractMetricExporter.write(String group,
Collection<Metric<?>> values)
Write the values associated with a group.
|
Modifier and Type | Method and Description |
---|---|
Metric<?> |
MetricReader.findOne(String metricName)
Find an instance of the metric with the given name (usually the latest recorded
value).
|
Metric<?> |
CompositeMetricReader.findOne(String metricName) |
Modifier and Type | Method and Description |
---|---|
Iterable<Metric<?>> |
MetricReader.findAll()
Find all the metrics known to this reader.
|
Iterable<Metric<?>> |
CompositeMetricReader.findAll() |
Iterable<Metric<?>> |
PrefixMetricReader.findAll(String prefix)
Find all metrics whose name starts with the given prefix.
|
Modifier and Type | Method and Description |
---|---|
Metric<?> |
InMemoryMetricRepository.findOne(String metricName) |
Modifier and Type | Method and Description |
---|---|
Iterable<Metric<?>> |
InMemoryMetricRepository.findAll() |
Iterable<Metric<?>> |
InMemoryMetricRepository.findAll(String metricNamePrefix) |
Modifier and Type | Method and Description |
---|---|
void |
InMemoryMetricRepository.set(Metric<?> value) |
Modifier and Type | Method and Description |
---|---|
void |
InMemoryMetricRepository.set(String group,
Collection<Metric<?>> values) |
void |
InMemoryMetricRepository.setValues(ConcurrentNavigableMap<String,Metric<?>> values) |
Modifier and Type | Method and Description |
---|---|
Metric<?> |
RedisMetricRepository.findOne(String metricName) |
Modifier and Type | Method and Description |
---|---|
Iterable<Metric<?>> |
RedisMetricRepository.findAll() |
Iterable<Metric<?>> |
RedisMultiMetricRepository.findAll(String group) |
Modifier and Type | Method and Description |
---|---|
void |
RedisMetricRepository.set(Metric<?> value) |
Modifier and Type | Method and Description |
---|---|
void |
RedisMultiMetricRepository.set(String group,
Collection<Metric<?>> values) |
Modifier and Type | Method and Description |
---|---|
void |
InMemoryRichGaugeRepository.set(Metric<?> metric) |
Modifier and Type | Class and Description |
---|---|
class |
Delta<T extends Number>
A value object representing an increment in a metric value (usually a counter).
|
Modifier and Type | Method and Description |
---|---|
void |
MetricWriter.set(Metric<?> value)
Set the value of a metric.
|
void |
MessageChannelMetricWriter.set(Metric<?> value) |
void |
CompositeMetricWriter.set(Metric<?> value) |
void |
CodahaleMetricWriter.set(Metric<?> value) |
Modifier and Type | Method and Description |
---|---|
void |
PrefixMetricWriter.set(String group,
Collection<Metric<?>> values)
Save some metric values and associate them with a group name.
|
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.