コード例 #1
0
 private void reportCounter(MetricName name, Counter counter, long timestamp)
 {
     graphite.Send(Prefix(name, "count"), format(counter.Count), timestamp);
 }
コード例 #2
0
ファイル: CsvReporter.cs プロジェクト: thattolleyguy/nmetrics
 private void reportCounter(long timestamp, MetricName name, Counter counter)
 {
     report(timestamp, name, "count", counter.Count);
 }
コード例 #3
0
 public CountingInterceptor(Counter counter, bool monotonic)
 {
     this.counter = counter;
     this.monotonic = monotonic;
 }