public void sendMetric(final String name,final double value){
  logger.debug(String.format("sendMetric(%s, %f)",name,value));
  if (telemetryClient != null) {
    telemetryClient.trackMetric(name,value);
  }
}

public void sendMetric ( final String name , final double value ) { logger . debug ( String . format ( "sendMetric(%s, %f)" , name , value ) ) ; if ( telemetryClient != null ) { telemetryClient . trackMetric ( name , value ) ; } }
call sendmetric to track the new value of the named metric .
