Only log warning on type when in debug mode.
This commit is contained in:
parent
8b8c64e748
commit
34ae7655a2
|
@ -114,7 +114,9 @@ func (o *OpenTSDB) WriteHttp(metrics []telegraf.Metric, u *url.URL) error {
|
|||
case uint64:
|
||||
case float64:
|
||||
default:
|
||||
if o.Debug {
|
||||
fmt.Printf("OpenTSDB does not support metric value: [%s] of type [%T].\n", value, value)
|
||||
}
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue