0.3.0 redis & rabbitmq

This commit is contained in:
Cameron Sparr
2015-12-15 11:08:13 -06:00
parent 7746a2b3cd
commit 6fcd05b855
3 changed files with 41 additions and 30 deletions

View File

@@ -7,6 +7,7 @@ import (
"math/rand"
"net/url"
"strings"
"time"
"github.com/influxdb/influxdb/client/v2"
"github.com/influxdb/telegraf/internal"
@@ -110,6 +111,7 @@ func (i *InfluxDB) Connect() error {
}
i.conns = conns
rand.Seed(time.Now().UnixNano())
return nil
}