Class DropwizardTypes
- java.lang.Object
-
- org.forgerock.monitoring.dropwizard.DropwizardTypes
-
public final class DropwizardTypes extends Object
While Dropwizard is well suited for representing hierarchical metrics, it has no support for dimensional metrics. This utility class contains sub types of the dropwizard metrics, enhanced to support tags (dimensions), while also supporting hierarchical names.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDropwizardTypes.DescribableCounterA describable counter, implementing both the dropwizard's and the monitoring-api's relevant APIs.static classDropwizardTypes.DescribableGauge<T>A describable gauge, implementing both the dropwizard's and the monitoring-api's relevant APIs.static classDropwizardTypes.DescribableHistogramA describable histogram, implementing both the dropwizard's meter and the monitoring-api's relevant APIs.static classDropwizardTypes.DescribableMeterA describable meter, implementing both the dropwizard's meter and the monitoring-api's relevant APIs.static interfaceDropwizardTypes.DescribableMetricA describable dropwizard metric.static classDropwizardTypes.DescribableTimerA describable timer, implementing both the dropwizard's and the monitoring-api's relevant APIs.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.codahale.metrics.MetricRegistrytoMetricRegistry(MeterRegistry meterRegistry)Converts aMeterRegistryto aMetricRegistry.
-
-
-
Method Detail
-
toMetricRegistry
public static com.codahale.metrics.MetricRegistry toMetricRegistry(MeterRegistry meterRegistry)
Converts aMeterRegistryto aMetricRegistry.- Parameters:
meterRegistry- The meterRegistry.- Returns:
- A metricRegistry.
-
-