| Package | Description |
|---|---|
| org.eclipse.microprofile.metrics |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Counter
An incrementing and decrementing 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 |
Timer
A timer metric which aggregates timing durations and provides duration statistics, plus
throughput statistics via
Meter. |
| Modifier and Type | Method and Description |
|---|---|
abstract <T extends Metric> |
MetricRegistry.register(Metadata metadata,
T metric)
|
abstract <T extends Metric> |
MetricRegistry.register(String name,
T metric)
Given a
Metric, registers it under the given name. |
abstract <T extends Metric> |
MetricRegistry.register(String name,
T metric,
Metadata metadata)
Deprecated.
As of version 1.1, use
MetricRegistry.register(Metadata, Metric) instead |
| Modifier and Type | Method and Description |
|---|---|
abstract Map<String,Metric> |
MetricRegistry.getMetrics()
Returns a map of all the metrics in the registry and their names.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
MetricFilter.matches(String name,
Metric metric)
Returns
true if the metric matches the filter; false otherwise. |
Copyright © 2017. All rights reserved.