Skip to content

MongoDB plugin always shows 0 replication lag #1449

@lassizci

Description

@lassizci

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugunexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions