Bug report
Relevant telegraf.conf:
[[inputs.mongodb]]
servers = ["127.0.0.1:27017"]
System info:
telegraf 1.0.0-beta2
mongodb 3.2.7
repl_lag seems to always output 0i even though there's replication lag on the secondaries. I've been monitoring this through mongodb cloud. I do get all the other metrics pretty much as expected.