| Package | Description |
|---|---|
| org.eclipse.microprofile.metrics |
MicroProfile Metrics
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Counter
An incrementing counter metric.
|
interface |
Gauge<T extends Number>
A gauge metric is an instantaneous reading of a particular value.
|
interface |
Histogram
A metric which calculates the distribution of a value.
|
interface |
Timer
A timer metric which aggregates timing durations and provides duration statistics
|
| 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
MetricIDs which match the given filter and
which are assignable to the provided type. |
| 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
MetricIDs at query time. |
SortedMap<MetricID,Metric> |
MetricRegistry.getMetrics(MetricFilter filter)
Returns a map of all the metrics in the registry and their
MetricIDs 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 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.