예제 #1
0
 @Override
 public void collectStats(StatsCollector collector) {
   collector.record("seh.dummy.retries", 1);
 }
예제 #2
0
파일: HttpQuery.java 프로젝트: gitbrid/tsdb
 /**
  * Collects the stats and metrics tracked by this instance.
  *
  * @param collector The collector to use.
  */
 public static void collectStats(final StatsCollector collector) {
   collector.record("http.latency", httplatency, "type=all");
 }