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