influxdb output: default db -> telegraf
This commit is contained in:
parent
42d9d5d237
commit
b3f351e534
|
@ -221,7 +221,8 @@ func (i *InfluxDB) Write(metrics []telegraf.Metric) error {
|
|||
func init() {
|
||||
outputs.Add("influxdb", func() telegraf.Output {
|
||||
return &InfluxDB{
|
||||
Timeout: internal.Duration{Duration: time.Second * 5},
|
||||
Timeout: internal.Duration{Duration: time.Second * 5},
|
||||
Database: "telegraf",
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue