Package | Description |
---|---|
org.eclipse.microprofile.metrics |
MicroProfile Metrics
|
Modifier and Type | Method and Description |
---|---|
SortedMap<MetricID,ConcurrentGauge> |
MetricRegistry.getConcurrentGauges()
Returns a map of all the concurrent gauges in the registry and their
MetricID s. |
SortedMap<MetricID,ConcurrentGauge> |
MetricRegistry.getConcurrentGauges(MetricFilter filter)
Returns a map of all the concurrent gauges in the registry and their
MetricID s which match
the given filter. |
SortedMap<MetricID,Counter> |
MetricRegistry.getCounters()
Returns a map of all the counters in the registry and their
MetricID s. |
SortedMap<MetricID,Counter> |
MetricRegistry.getCounters(MetricFilter filter)
Returns a map of all the counters in the registry and their
MetricID s which match the given
filter. |
SortedMap<MetricID,Gauge> |
MetricRegistry.getGauges()
Returns a map of all the gauges in the registry and their
MetricID s. |
SortedMap<MetricID,Gauge> |
MetricRegistry.getGauges(MetricFilter filter)
Returns a map of all the gauges in the registry and their
MetricID s which match the given filter. |
SortedMap<MetricID,Histogram> |
MetricRegistry.getHistograms()
Returns a map of all the histograms in the registry and their
MetricID s. |
SortedMap<MetricID,Histogram> |
MetricRegistry.getHistograms(MetricFilter filter)
Returns a map of all the histograms in the registry and their
MetricID s which match the given
filter. |
SortedMap<MetricID,Meter> |
MetricRegistry.getMeters()
Returns a map of all the meters in the registry and their
MetricID s. |
SortedMap<MetricID,Meter> |
MetricRegistry.getMeters(MetricFilter filter)
Returns a map of all the meters in the registry and their
MetricID s which match the given filter. |
SortedSet<MetricID> |
MetricRegistry.getMetricIDs()
Returns a set of the
MetricID s of all the metrics in the registry. |
Map<MetricID,Metric> |
MetricRegistry.getMetrics()
Returns a map of all the metrics in the registry and their
MetricID s at query time. |
<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. |
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. |
SortedMap<MetricID,SimpleTimer> |
MetricRegistry.getSimpleTimers()
Returns a map of all the simple timers in the registry and their
MetricID s. |
SortedMap<MetricID,SimpleTimer> |
MetricRegistry.getSimpleTimers(MetricFilter filter)
Returns a map of all the simple timers in the registry and their
MetricID s which match the given filter. |
SortedMap<MetricID,Timer> |
MetricRegistry.getTimers()
Returns a map of all the timers in the registry and their
MetricID s. |
SortedMap<MetricID,Timer> |
MetricRegistry.getTimers(MetricFilter filter)
Returns a map of all the timers in the registry and their
MetricID s which match the given filter. |
Modifier and Type | Method and Description |
---|---|
int |
MetricID.compareTo(MetricID other)
Compares two MetricID objects through the following steps:
Compares the names of the two MetricIDs lexicographically. |
ConcurrentGauge |
MetricRegistry.concurrentGauge(MetricID metricID)
Return the
ConcurrentGauge registered under the MetricID ; or create and register
a new ConcurrentGauge if none is registered. |
Counter |
MetricRegistry.counter(MetricID metricID)
|
<T extends Number> |
MetricRegistry.gauge(MetricID metricID,
Supplier<T> supplier)
|
<T,R extends Number> |
MetricRegistry.gauge(MetricID metricID,
T object,
Function<T,R> func)
|
ConcurrentGauge |
MetricRegistry.getConcurrentGauge(MetricID metricID)
Return the
ConcurrentGauge registered for the provided MetricID . |
Counter |
MetricRegistry.getCounter(MetricID metricID)
|
Gauge<?> |
MetricRegistry.getGauge(MetricID metricID)
|
Histogram |
MetricRegistry.getHistogram(MetricID metricID)
|
Meter |
MetricRegistry.getMeter(MetricID metricID)
|
Metric |
MetricRegistry.getMetric(MetricID metricID)
|
<T extends Metric> |
MetricRegistry.getMetric(MetricID metricID,
Class<T> asType)
|
SimpleTimer |
MetricRegistry.getSimpleTimer(MetricID metricID)
Return the
SimpleTimer registered for the provided MetricID . |
Timer |
MetricRegistry.getTimer(MetricID metricID)
|
Histogram |
MetricRegistry.histogram(MetricID metricID)
|
boolean |
MetricFilter.matches(MetricID metricID,
Metric metric)
Returns
true if the metric matches the filter; false otherwise. |
Meter |
MetricRegistry.meter(MetricID metricID)
|
boolean |
MetricRegistry.remove(MetricID metricID)
Removes the metric with the given MetricID
|
SimpleTimer |
MetricRegistry.simpleTimer(MetricID metricID)
Return the
SimpleTimer registered under the MetricID ;
or create and register a new SimpleTimer if none is registered. |
Timer |
MetricRegistry.timer(MetricID metricID)
|
Copyright © 2017 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.