Interface MetricRegistryProxy
public interface MetricRegistryProxy
Interface which includes the methods we need to call on MetricRegistry
This allows us to proxy these calls so that this code can run against MP Metrics 2.3 and MP Metrics 3.0 where MetricRegistry was changed from an abstract class to an interface
-
Method Summary
Modifier and TypeMethodDescriptionSortedMap<org.eclipse.microprofile.metrics.MetricID,
org.eclipse.microprofile.metrics.Counter> SortedMap<org.eclipse.microprofile.metrics.MetricID,
org.eclipse.microprofile.metrics.Gauge> Map<org.eclipse.microprofile.metrics.MetricID,
org.eclipse.microprofile.metrics.Metric>
-
Method Details
-
getMetrics
Map<org.eclipse.microprofile.metrics.MetricID,org.eclipse.microprofile.metrics.Metric> getMetrics() -
getCounters
SortedMap<org.eclipse.microprofile.metrics.MetricID,org.eclipse.microprofile.metrics.Counter> getCounters() -
getGauges
SortedMap<org.eclipse.microprofile.metrics.MetricID,org.eclipse.microprofile.metrics.Gauge> getGauges() -
getMetadata
-