Interface Metric

  • All Known Implementing Classes:

    public interface Metric
    A metric tracked for monitoring purposes.
    • Method Detail

      • metricName

        MetricName metricName()
        A name for this metric
      • value

        double value()
        As of 1.0.0, use metricValue() instead. This will be removed in a future major release.
        The value of the metric as double if the metric is measurable and `0.0` otherwise.
      • metricValue

        Object metricValue()
        The value of the metric, which may be measurable or a non-measurable gauge