Interface MetricInfo

All Known Implementing Classes:
CounterMetricInfo, DistributionSummaryMetricInfo, FunctionTimerMetricInfo, GaugeMetricInfo, TimeGaugeMetricInfo, TimerMetricInfo

public interface MetricInfo
Class that represent the information about a metrics.

Includes the metrics's name, description and tags. Subclasses can add more information about it.

Since:
15.0
  • Method Details

    • getName

      String getName()
      Returns:
      The metrics name.
    • getDescription

      String getDescription()
      Returns:
      The metrics description/help message.
    • getTags

      default Map<String,String> getTags()
      Returns:
      The tags to be used. Must be non-null.