Package | Description |
---|---|
org.eclipse.microprofile.metrics |
MicroProfile Metrics
|
Modifier and Type | Interface and Description |
---|---|
interface |
ConcurrentGauge
A concurrent gauge is a gauge that measures parallel invocations of a method.
|
interface |
Counter
An incrementing counter metric.
|
interface |
Gauge<T>
A gauge metric is an instantaneous reading of a particular value.
|
interface |
Histogram
A metric which calculates the distribution of a value.
|
interface |
Meter
A meter metric which measures mean throughput and one-, five-, and fifteen-minute
exponentially-weighted moving average throughputs.
|
interface |
Metered
An object which maintains mean and exponentially-weighted rate.
|
interface |
SimpleTimer
A simple timer metric which tracks elapsed time durations and count.
|
interface |
Timer
A timer metric which aggregates timing durations and provides duration statistics, plus
throughput statistics via
Meter . |
Modifier and Type | Method and Description |
---|---|
<T extends Metric> |
MetricRegistry.getMetric(MetricID metricID,
Class<T> asType)
|
<T extends Metric> |
MetricRegistry.getMetrics(Class<T> ofType,
MetricFilter filter)
Returns a map of all the metrics in the registry and their
MetricID s which match the given filter
and which are assignable to the provided type. |
<T extends Metric> |
MetricRegistry.register(Metadata metadata,
T metric)
|
<T extends Metric> |
MetricRegistry.register(Metadata metadata,
T metric,
Tag... tags)
|
<T extends Metric> |
MetricRegistry.register(String name,
T metric)
|
Modifier and Type | Method and Description |
---|---|
Metric |
MetricRegistry.getMetric(MetricID metricID)
|
Modifier and Type | Method and Description |
---|---|
Map<MetricID,Metric> |
MetricRegistry.getMetrics()
Returns a map of all the metrics in the registry and their
MetricID s at query time. |
SortedMap<MetricID,Metric> |
MetricRegistry.getMetrics(MetricFilter filter)
Returns a map of all the metrics in the registry and their
MetricID s which match the given filter. |
Modifier and Type | Method and Description |
---|---|
boolean |
MetricFilter.matches(MetricID metricID,
Metric metric)
Returns
true if the metric matches the filter; false otherwise. |
Copyright © 2017 – 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.