Remove noisy debug message from Wavefront output (#3899)

This commit is contained in:
Pierre Tessier 2018-03-19 13:04:35 -05:00 committed by Daniel Nelson
parent 76ce71f7fa
commit 6200683c29
1 changed files with 0 additions and 1 deletions

View File

@ -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())