From 2c346ed08b256a0b2c173aca79ce8ae69a55a9cd Mon Sep 17 00:00:00 2001 From: Aaron Griffin <63020788+agriffin208@users.noreply.github.com> Date: Mon, 16 Nov 2020 07:54:58 -0700 Subject: [PATCH] #8405 add non-retryable debug logging (#8406) Add debug level logging for metric data that is not retryable. --- plugins/outputs/wavefront/wavefront.go | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/outputs/wavefront/wavefront.go b/plugins/outputs/wavefront/wavefront.go index ee0a8a5b0..ef5a6418f 100644 --- a/plugins/outputs/wavefront/wavefront.go +++ b/plugins/outputs/wavefront/wavefront.go @@ -177,6 +177,7 @@ func (w *Wavefront) Write(metrics []telegraf.Metric) error { return fmt.Errorf("Wavefront sending error: %v", err) } w.Log.Errorf("non-retryable error during Wavefront.Write: %v", err) + w.Log.Debugf("Non-retryable metric data: Name: %v, Value: %v, Timestamp: %v, Source: %v, PointTags: %v ", point.Metric, point.Value, point.Timestamp, point.Source, point.Tags) } } }