Modifier and Type | Method and Description |
---|---|
Collection<Metric<?>> |
DefaultCacheStatistics.toMetrics(String prefix) |
Collection<Metric<?>> |
CacheStatistics.toMetrics(String prefix)
Generate the relevant
Metric instances based on the specified prefix. |
Modifier and Type | Method and Description |
---|---|
Metric<?> |
MetricsEndpointMetricReader.findOne(String metricName) |
Modifier and Type | Method and Description |
---|---|
Iterable<Metric<?>> |
MetricsEndpointMetricReader.findAll() |
Collection<Metric<?>> |
TomcatPublicMetrics.metrics() |
Collection<Metric<?>> |
SystemPublicMetrics.metrics() |
Collection<Metric<?>> |
RichGaugeReaderPublicMetrics.metrics() |
Collection<Metric<?>> |
PublicMetrics.metrics()
Return an indication of current state through metrics.
|
Collection<Metric<?>> |
MetricReaderPublicMetrics.metrics() |
Collection<Metric<?>> |
DataSourcePublicMetrics.metrics() |
Collection<Metric<?>> |
CachePublicMetrics.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 |
---|---|
Metric<?> |
AggregateMetricReader.findOne(String metricName) |
Modifier and Type | Method and Description |
---|---|
Iterable<Metric<?>> |
AggregateMetricReader.findAll() |
Modifier and Type | Method and Description |
---|---|
Metric<?> |
BufferMetricReader.findOne(String name) |
Modifier and Type | Method and Description |
---|---|
Iterable<Metric<?>> |
BufferMetricReader.findAll() |
Iterable<Metric<?>> |
BufferMetricReader.findAll(String prefix) |
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<?> |
SpringIntegrationMetricReader.findOne(String metricName) |
Modifier and Type | Method and Description |
---|---|
Iterable<Metric<?>> |
SpringIntegrationMetricReader.findAll() |
Modifier and Type | Method and Description |
---|---|
void |
JmxMetricWriter.set(Metric<?> value) |
Modifier and Type | Method and Description |
---|---|
void |
OpenTsdbGaugeWriter.set(Metric<?> value) |
Modifier and Type | Method and Description |
---|---|
Metric<?> |
MetricRegistryMetricReader.findOne(String metricName) |
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<?>> |
MetricRegistryMetricReader.findAll() |
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<?>> |
InMemoryMultiMetricRepository.findAll(String metricNamePrefix) |
Iterable<Metric<?>> |
InMemoryMetricRepository.findAllWithPrefix(String prefix) |
Modifier and Type | Method and Description |
---|---|
void |
InMemoryMetricRepository.set(Metric<?> value) |
Modifier and Type | Method and Description |
---|---|
void |
InMemoryMultiMetricRepository.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 | Method and Description |
---|---|
void |
StatsdMetricWriter.set(Metric<?> value) |
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 |
MessageChannelMetricWriter.set(Metric<?> value) |
void |
GaugeWriter.set(Metric<?> value)
Set the value of a metric.
|
void |
CompositeMetricWriter.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 © 2018 Pivotal Software, Inc.. All rights reserved.