Package | Description |
---|---|
org.eclipse.microprofile.metrics |
MicroProfile Metrics
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultMetadata
The default implementation of
Metadata |
Modifier and Type | Method and Description |
---|---|
Metadata |
MetadataBuilder.build() |
Metadata |
MetricRegistry.getMetadata(String name)
Return the
Metadata for the provided name. |
Modifier and Type | Method and Description |
---|---|
Map<String,Metadata> |
MetricRegistry.getMetadata()
Returns a map of all the metadata in the registry and their names.
|
Modifier and Type | Method and Description |
---|---|
static MetadataBuilder |
Metadata.builder(Metadata metadata)
Returns a new builder with the
Metadata information |
ConcurrentGauge |
MetricRegistry.concurrentGauge(Metadata metadata)
Return the
ConcurrentGauge registered under the MetricID with the Metadata 's name;
or create and register a new ConcurrentGauge if none is registered. |
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. |
Counter |
MetricRegistry.counter(Metadata metadata)
|
Counter |
MetricRegistry.counter(Metadata metadata,
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)
|
Histogram |
MetricRegistry.histogram(Metadata metadata)
|
Histogram |
MetricRegistry.histogram(Metadata metadata,
Tag... tags)
|
Meter |
MetricRegistry.meter(Metadata metadata)
|
Meter |
MetricRegistry.meter(Metadata metadata,
Tag... tags)
|
<T extends Metric> |
MetricRegistry.register(Metadata metadata,
T metric)
|
<T extends Metric> |
MetricRegistry.register(Metadata metadata,
T metric,
Tag... tags)
|
SimpleTimer |
MetricRegistry.simpleTimer(Metadata metadata)
Return the
SimpleTimer registered under the the MetricID with the Metadata 's name and
with no tags; or create and register a new SimpleTimer if none is registered. |
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. |
Timer |
MetricRegistry.timer(Metadata metadata)
|
Timer |
MetricRegistry.timer(Metadata metadata,
Tag... tags)
|
Copyright © 2020. All rights reserved.