Class MetricQueryResults


  • @Experimental(METRICS)
    public abstract class MetricQueryResults
    extends java.lang.Object
    The results of a query for metrics. Allows accessing all of the metrics that matched the filter.
    • Constructor Detail

      • MetricQueryResults

        public MetricQueryResults()
    • Method Detail

      • getCounters

        public abstract java.lang.Iterable<MetricResult<java.lang.Long>> getCounters()
        Return the metric results for the counters that matched the filter.
      • getDistributions

        public abstract java.lang.Iterable<MetricResult<DistributionResult>> getDistributions()
        Return the metric results for the distributions that matched the filter.
      • getGauges

        public abstract java.lang.Iterable<MetricResult<GaugeResult>> getGauges()
        Return the metric results for the gauges that matched the filter.
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object