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