예제 #1
0
 public HistogramMetric GetReplicationDurationHistogram(ReplicationStrategy destination)
 {
     return(ReplicationDurationHistogram.GetOrAdd(destination.ConnectionStringOptions.Url,
                                                  s => dbMetrics.Histogram("metrics", "Replication duration Histogram for " + s)));
 }
예제 #2
0
 public HistogramMetric GetReplicationDurationHistogram(string serverUrl)
 {
     return(ReplicationDurationHistogram.GetOrAdd(serverUrl,
                                                  s => counterMetrics.Histogram("counterMetrics", "Counter Replication duration Histogram for: " + s)));
 }