接口 MetricReader

    • 方法详细资料

      • findOne

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

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

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