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' name, description and tags. Subclasses can add more information about it.

Since:
15.0
  • Method Details Link icon

    • getName Link icon

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

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

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

      String getType()