Class MetricsEndpoint.Sample

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

@Introspected public static final class MetricsEndpoint.Sample extends Object
A measurement sample combining a statistic and a value.
  • Method Details

    • getStatistic

      public io.micrometer.core.instrument.Statistic getStatistic()
      Measurement name.
      Returns:
      measurement name
    • getValue

      public Double getValue()
      Measurement value.
      Returns:
      measurement value
    • toString

      public String toString()
      Overrides:
      toString in class Object