
io.pcp.parfait.dropwizard.MetricAdapterFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of parfait-dropwizard Show documentation
Show all versions of parfait-dropwizard Show documentation
Reporter for Dropwizard (ex Codahale) metrics that publishes to Parfait
package io.pcp.parfait.dropwizard;
import com.codahale.metrics.Metric;
public interface MetricAdapterFactory {
/**
* Create a MetricAdapted for a Dropwizard metric
*
* @param name The name the metric is published under in Dropwizard
* @param metric The metric
* @return A MetricAdapter representing the passed Metric
*/
MetricAdapter createMetricAdapterFor(String name, Metric metric);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy