Add debug level logging for metric data that is not retryable.
This commit is contained in:
parent
18460e1825
commit
2c346ed08b
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue