Ejemplo n.º 1
0
 public MeterMetric GetReplicationDurationMetric(ReplicationStrategy destination)
 {
     return(ReplicationDurationMeter.GetOrAdd(destination.ConnectionStringOptions.Url,
                                              s => dbMetrics.Meter("metrics", "duration for " + s, "Replication duration Counter", TimeUnit.Minutes)));
 }
Ejemplo n.º 2
0
 public MeterMetric GetReplicationDurationMetric(string serverUrl)
 {
     return(ReplicationDurationMeter.GetOrAdd(serverUrl,
                                              s => counterMetrics.Meter("counterMetrics", "duration", "Replication duration Counter", TimeUnit.Minutes)));
 }