private void reportCounter(MetricName name, Counter counter, long timestamp)
 {
     graphite.Send(Prefix(name, "count"), format(counter.Count), timestamp);
 }
Beispiel #2
0
 private void reportCounter(long timestamp, MetricName name, Counter counter)
 {
     report(timestamp, name, "count", counter.Count);
 }
 public CountingInterceptor(Counter counter, bool monotonic)
 {
     this.counter = counter;
     this.monotonic = monotonic;
 }