All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.pcp.parfait.dropwizard.MetricDescriptor Maven / Gradle / Ivy

There is a newer version: 1.2.1
Show newest version
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