Interface MetricsInfo

All Known Implementing Classes:
AbstractMetric, MetricsTag

@Public @Evolving public interface MetricsInfo
Interface to provide immutable metainfo for metrics.
  • Method Summary

    Modifier and Type
    Method
    Description
    Typically the description corresponds to annotation Metric.about() or the name of the class.
    Typically name corresponds to annotation Metric.value() or the name of the class.
  • Method Details

    • name

      String name()
      Typically name corresponds to annotation Metric.value() or the name of the class.
      Returns:
      the name of the metric/tag
    • description

      String description()
      Typically the description corresponds to annotation Metric.about() or the name of the class.
      Returns:
      the description of the metric/tag