public HistogramMetric GetReplicationBatchSizeHistogram(string serverUrl) { return(ReplicationBatchSizeHistogram.GetOrAdd(serverUrl, s => counterMetrics.Histogram("counterMetrics", "Counter Replication docs/min Histogram for : " + s))); }
public HistogramMetric GetReplicationBatchSizeHistogram(ReplicationStrategy destination) { return(ReplicationBatchSizeHistogram.GetOrAdd(destination.ConnectionStringOptions.Url, s => dbMetrics.Histogram("metrics", "Replication docs/min Histogram for " + s))); }
public HistogramMetric GetReplicationBatchSizeHistogram(string serverUrl) { return(ReplicationBatchSizeHistogram.GetOrAdd(serverUrl, s => timeSeriesMetrics.Histogram("timeSeriesMetrics", "Time Series Replication docs/min Histogram for : " + s))); }