@Override
	protected void sendOutput(String metricLine) throws IOException {
		DatagramPacket packet;
		byte[] data;

		data = metricLine.getBytes("UTF-8");
		packet = new DatagramPacket(data, 0, data.length, this.address);

		this.dgSocket.send(packet);
	}
@ Override protected void sendOutput ( String metricLine ) throws IOException { DatagramPacket packet ; byte [ ] data ; data = metricLine . getBytes ( "UTF-8" ) ; packet = new DatagramPacket ( data , 0 , data . length , this . address ) ; this . dgSocket . send ( packet ) ; }
Send a single metric to TCollector.

@param metricLine - the line containing the metric name, value, and tags for a single metric; excludes the
"put" keyword expected by OpenTSDB and the trailing newline character.