Add support for couchdb 2.0+ API (#4654)

This commit is contained in:
Greg
2018-09-12 02:03:59 -06:00
committed by Daniel Nelson
parent 1aa969aabc
commit 9bd14b283f
4 changed files with 207 additions and 298 deletions

View File

@@ -0,0 +1,9 @@
[agent]
interval="1s"
flush_interval="1s"
[[inputs.couchdb]]
hosts = ["http://couchdb16:5984/_stats", "http://couchdb22:5984/_node/_local/_stats"]
[[outputs.file]]
files = ["stdout"]