code: private String buildMetricName(String process, String mbeanName,
  			String mbeanPublishName, String attribute, String attrPublishName) {
  		StringBuilder buf = new StringBuilder();
  		if (process != null) {
  			buf.append(process);
  			buf.append("_");
  		}
  		if (mbeanPublishName != null) {
  			buf.append(mbeanPublishName);
  		} else {
  			buf.append(mbeanName);
  		}
  		buf.append("_");
  		if (!"".equals(attrPublishName)) {
  			buf.append(attrPublishName);
  		} else {
  			buf.append(attribute);
  		}
  		return buf.toString();
  	}
docs: Builds the metric name in ganglia
  
  @param process
  the process name, or null if not used
  @param mbeanName
  the mbean name
  @param mbeanPublishName
  the mbean publish name, or null if not used
  @param attribute
  the mbean attribute name
  @param attrPublishName
  the mbean attribute publish name
  @return the metric name