Remove noisy debug message from Wavefront output (#3899)
This commit is contained in:
		
							parent
							
								
									76ce71f7fa
								
							
						
					
					
						commit
						6200683c29
					
				|  | @ -126,7 +126,6 @@ func (w *Wavefront) Write(metrics []telegraf.Metric) error { | ||||||
| 	for _, m := range metrics { | 	for _, m := range metrics { | ||||||
| 		for _, metricPoint := range buildMetrics(m, w) { | 		for _, metricPoint := range buildMetrics(m, w) { | ||||||
| 			metricLine := formatMetricPoint(metricPoint, w) | 			metricLine := formatMetricPoint(metricPoint, w) | ||||||
| 			log.Printf("D! Output [wavefront] %s", metricLine) |  | ||||||
| 			_, err := connection.Write([]byte(metricLine)) | 			_, err := connection.Write([]byte(metricLine)) | ||||||
| 			if err != nil { | 			if err != nil { | ||||||
| 				return fmt.Errorf("Wavefront: TCP writing error %s", err.Error()) | 				return fmt.Errorf("Wavefront: TCP writing error %s", err.Error()) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue