protected void processOneMetric(List<String> resultStrings, Server server, Result result, Object value, String addTagName,
									String addTagValue) {
		String metricName = this.metricNameStrategy.formatName(result);

		//
		// Skip any non-numeric values since OpenTSDB only supports numeric metrics.
		//
		if (isNumeric(value)) {
			StringBuilder resultString = new StringBuilder();

			formatResultString(resultString, metricName, result.getEpoch() / 1000L, value);
			addTags(resultString, server);

			if (addTagName != null) {
				addTag(resultString, addTagName, addTagValue);
			}

			if (!typeNames.isEmpty()) {
				this.addTypeNamesTags(resultString, result);
			}

			resultStrings.add(resultString.toString());
		} else {
			log.debug("Skipping non-numeric value for metric {}; value={}", metricName, value);
		}
	}
protected void processOneMetric ( List < String > resultStrings , Server server , Result result , Object value , String addTagName , String addTagValue ) { String metricName = this . metricNameStrategy . formatName ( result ) ; if ( isNumeric ( value ) ) { StringBuilder resultString = new StringBuilder ( ) ; formatResultString ( resultString , metricName , result . getEpoch ( ) / 1000L , value ) ; addTags ( resultString , server ) ; if ( addTagName != null ) { addTag ( resultString , addTagName , addTagValue ) ; } if ( ! typeNames . isEmpty ( ) ) { this . addTypeNamesTags ( resultString , result ) ; } resultStrings . add ( resultString . toString ( ) ) ; } else { log . debug ( "Skipping non-numeric value for metric {}; value={}" , metricName , value ) ; } }
Process a single metric from the given JMX query result with the specified value.