Fix plugin name in influxdb_v2 output logging (#5627)
This commit is contained in:
parent
5e6374c19b
commit
3bb1548414
|
@ -162,7 +162,7 @@ func (i *InfluxDB) Write(metrics []telegraf.Metric) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
log.Printf("E! [outputs.influxdb] when writing to [%s]: %v", client.URL(), err)
|
||||
log.Printf("E! [outputs.influxdb_v2] when writing to [%s]: %v", client.URL(), err)
|
||||
}
|
||||
|
||||
return errors.New("could not write any address")
|
||||
|
|
Loading…
Reference in New Issue