@ -94,16 +94,16 @@ public class DropwizardMetricWriter implements MetricWriter {
@@ -94,16 +94,16 @@ public class DropwizardMetricWriter implements MetricWriter {
else{
finaldoublegauge=value.getValue().doubleValue();
// Ensure we synchronize to avoid another thread pre-empting this thread after
// remove causing an error in CodaHale metrics
// NOTE: CodaHale provides no way to do this atomically
synchronized(getGuageLock(name)){
// remove causing an error in Dropwizard Metrics
// NOTE: Dropwizard Metrics provides no way to do this atomically