@Override
 public void processGauge(MetricName name, Gauge<?> gauge, Long epoch) {
   Object v = gauge.value();
   EventDSL e = newEvent().service(service(name)).time(epoch);
   if (v instanceof Integer) {
     e.metric((Integer) v).send();
   } else if (v instanceof Long) {
     e.metric((Long) v).send();
   } else if (v instanceof Double) {
     e.metric((Double) v).send();
   } else if (v instanceof Float) {
     e.metric((Float) v).send();
   } else if (v instanceof Number) {
     e.metric(((Number) v).floatValue()).send();
   }
 }