Package | Description |
---|---|
org.eclipse.microprofile.metrics |
MicroProfile Metrics
|
Modifier and Type | Method and Description |
---|---|
Tag[] |
MetricID.getTagsAsArray()
Gets the list of tags as an array of
Tag objects. |
Modifier and Type | Method and Description |
---|---|
List<Tag> |
MetricID.getTagsAsList()
Gets the list of tags as a list of
Tag objects |
Modifier and Type | Method and Description |
---|---|
ConcurrentGauge |
MetricRegistry.concurrentGauge(Metadata metadata,
Tag... tags)
Return the
ConcurrentGauge registered under the MetricID with the Metadata 's name and
with the provided Tag s; or create and register a new ConcurrentGauge if none is registered. |
ConcurrentGauge |
MetricRegistry.concurrentGauge(String name,
Tag... tags)
Return the
ConcurrentGauge registered under the MetricID with this name and
with the provided Tag s; or create and register a new ConcurrentGauge if none is registered. |
Counter |
MetricRegistry.counter(Metadata metadata,
Tag... tags)
|
Counter |
MetricRegistry.counter(String name,
Tag... tags)
|
<T extends Number> |
MetricRegistry.gauge(Metadata metadata,
Supplier<T> supplier,
Tag... tags)
|
<T,R extends Number> |
MetricRegistry.gauge(Metadata metadata,
T object,
Function<T,R> func,
Tag... tags)
|
<T extends Number> |
MetricRegistry.gauge(String name,
Supplier<T> supplier,
Tag... tags)
|
<T,R extends Number> |
MetricRegistry.gauge(String name,
T object,
Function<T,R> func,
Tag... tags)
|
Histogram |
MetricRegistry.histogram(Metadata metadata,
Tag... tags)
|
Histogram |
MetricRegistry.histogram(String name,
Tag... tags)
|
Meter |
MetricRegistry.meter(Metadata metadata,
Tag... tags)
|
Meter |
MetricRegistry.meter(String name,
Tag... tags)
|
<T extends Metric> |
MetricRegistry.register(Metadata metadata,
T metric,
Tag... tags)
|
SimpleTimer |
MetricRegistry.simpleTimer(Metadata metadata,
Tag... tags)
Return the
SimpleTimer registered under the the MetricID with the Metadata 's name and
with the provided Tag s; or create and register a new SimpleTimer if none is registered. |
SimpleTimer |
MetricRegistry.simpleTimer(String name,
Tag... tags)
Return the
SimpleTimer registered under the MetricID with this name and with the provided Tag s;
or create and register a new SimpleTimer if none is registered. |
Timer |
MetricRegistry.timer(Metadata metadata,
Tag... tags)
|
Timer |
MetricRegistry.timer(String name,
Tag... tags)
|
Constructor and Description |
---|
MetricID(String name,
Tag... tags)
Constructs a MetricID with the given metric name and
Tag s. |
Copyright © 2017 – 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.