influxdb output: default db -> telegraf

This commit is contained in:
Cameron Sparr 2016-07-20 12:33:21 +01:00
parent 42d9d5d237
commit b3f351e534
1 changed files with 2 additions and 1 deletions

View File

@ -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",
}
})
}