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 TypeMethodDescriptioncom.google.common.collect.ImmutableMap<Statistic,
com.google.common.collect.ImmutableList<CalculatedValue<?>>> Accessor for the collected statistical data.getType()
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
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.
-