Class DropwizardExports

Object
DropwizardExports
All Implemented Interfaces:
MultiCollector

public class DropwizardExports extends Object implements MultiCollector
Collect Dropwizard metrics from a MetricRegistry.
  • Constructor Details

    • DropwizardExports

      public DropwizardExports(MetricRegistry registry)
      Creates a new DropwizardExports and MetricFilter.ALL.
      Parameters:
      registry - a metric registry to export in prometheus.
    • DropwizardExports

      public DropwizardExports(MetricRegistry registry, MetricFilter metricFilter)
      Creates a new DropwizardExports with a custom MetricFilter.
      Parameters:
      registry - a metric registry to export in prometheus.
      metricFilter - a custom metric filter.
    • DropwizardExports

      public DropwizardExports(MetricRegistry registry, MetricFilter metricFilter, CustomLabelMapper labelMapper)
      Parameters:
      registry - a metric registry to export in prometheus.
      metricFilter - a custom metric filter.
      labelMapper - a labelMapper to use to map labels.
  • Method Details