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