コード例 #1
0
 public virtual void GetMetrics(MetricsCollector collector, bool all)
 {
     lock (this)
     {
         registry.Snapshot(collector.AddRecord(registry.Info()), all);
     }
 }
コード例 #2
0
 internal RpcDetailedMetrics(int port)
 {
     name     = "RpcDetailedActivityForPort" + port;
     registry = new MetricsRegistry("rpcdetailed").Tag("port", "RPC port", port.ToString
                                                           ());
     Log.Debug(registry.Info());
 }
コード例 #3
0
 public virtual void GetMetrics(MetricsCollector collector, bool all)
 {
     UpdateRunningTime();
     registry.Snapshot(collector.AddRecord(registry.Info()), all);
 }