Interface MetricReader

    • Method Detail

      • findOne

        Metric<?> findOne​(String metricName)
        Find an instance of the metric with the given name (usually the latest recorded value).
        Parameters:
        metricName - the name of the metric to find
        Returns:
        a metric value or null if there are none with that name
      • findAll

        Iterable<Metric<?>> findAll()
        Find all the metrics known to this reader.
        Returns:
        all instances of metrics known to this reader
      • count

        long count()
        The number of metrics known to this reader.
        Returns:
        the number of metrics