Class 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.
    • Method Detail

      • toMetricRegistry

        public static com.codahale.metrics.MetricRegistry toMetricRegistry​(MeterRegistry meterRegistry)
        Converts a MeterRegistry to a MetricRegistry.
        Parameters:
        meterRegistry - The meterRegistry.
        Returns:
        A metricRegistry.