fix (inputs/mongodb) readme: correct connection URI (#10075)

This commit is contained in:
anti32 2021-11-10 21:49:40 +02:00 committed by GitHub
parent 279fc8352c
commit 62a05b2372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ All MongoDB server versions from 2.6 and higher are supported.
## For example:
## mongodb://user:auth_key@10.10.3.30:27017,
## mongodb://10.10.3.33:18832,
servers = ["mongodb://127.0.0.1:27017"]
servers = ["mongodb://127.0.0.1:27017?connect=direct"]
## When true, collect cluster status.
## Note that the query that counts jumbo chunks triggers a COLLSCAN, which

View File

@ -44,7 +44,7 @@ var sampleConfig = `
## For example:
## mongodb://user:auth_key@10.10.3.30:27017,
## mongodb://10.10.3.33:18832,
servers = ["mongodb://127.0.0.1:27017"]
servers = ["mongodb://127.0.0.1:27017?connect=direct"]
## When true, collect cluster status
## Note that the query that counts jumbo chunks triggers a COLLSCAN, which