Add support for RethinkDB 1.0 handshake protocol (#2963)

Allow rethinkdb input plugin to work with RethinkDB 2.3.5+ databases that requires username,password authorization and Handshake protocol v1.0

* remove top level header not required in sample config

* remove top level header not required in sample config
This commit is contained in:
vodolaz095
2017-06-27 00:29:48 +03:00
committed by Daniel Nelson
parent f070f1460a
commit ab876bb525
5 changed files with 54 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ import (
"github.com/influxdata/telegraf"
"gopkg.in/dancannon/gorethink.v1"
"gopkg.in/gorethink/gorethink.v3"
)
type Server struct {