
io.pcp.parfait.dropwizard.MetricDescriptor 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 javax.measure.Unit;
import io.pcp.parfait.ValueSemantics;
/**
* The metadata published with a metric in Parfait
*/
public interface MetricDescriptor {
/**
* The unit of the metric
*
* @return The JSR-363 unit
*/
Unit getUnit();
/**
* The human-readable description of the metric
*
* @return The description
*/
String getDescription();
/**
* The ValueSemantics of the metric
*
* @return the ValueSemantics
* @see io.pcp.parfait.ValueSemantics
*/
ValueSemantics getSemantics();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy