Class MetricsEndpoint.MetricDetails

java.lang.Object
io.micronaut.configuration.metrics.management.endpoint.MetricsEndpoint.MetricDetails
Enclosing class:
MetricsEndpoint

@Introspected public static final class MetricsEndpoint.MetricDetails extends Object
Response payload for a metric name selector.
  • Method Details

    • getName

      public String getName()
      Get the name.
      Returns:
      name
    • getMeasurements

      public List<MetricsEndpoint.Sample> getMeasurements()
      Get measurement.
      Returns:
      list of measurements
    • getAvailableTags

      public List<MetricsEndpoint.AvailableTag> getAvailableTags()
      Get tags.
      Returns:
      list of tags
    • getDescription

      public String getDescription()
      Get description.
      Returns:
      metric description
    • getBaseUnit

      public String getBaseUnit()
      Get base unit.
      Returns:
      metric base unit