Interface Metric

All Known Implementing Classes:
DefaultMetric

public interface Metric
Interface for a type of collected data.
Author:
Brandon Arp (brandon dot arp at inscopemetrics dot io)
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.common.collect.ImmutableMap<Statistic,com.google.common.collect.ImmutableList<CalculatedValue<?>>>
    Accessor for the collected statistical data.
    Accessor for the type of metric.
    Accessor for the collected sample data.
  • Method Details

    • getType

      MetricType getType()
      Accessor for the type of metric.
      Returns:
      The type of metric.
    • getValues

      List<Quantity> getValues()
      Accessor for the collected sample data.
      Returns:
      The collected sample data.
    • getStatistics

      com.google.common.collect.ImmutableMap<Statistic,com.google.common.collect.ImmutableList<CalculatedValue<?>>> getStatistics()
      Accessor for the collected statistical data.
      Returns:
      The collected statistical data.