Skip to content

Mongodb input connection metrics #4664

Closed
@tuapuikia

Description

@tuapuikia

Relevant telegraf.conf:

System info:

Telegraf version: nightly version (mater 54f28ee)
Input plugin : mongodb
Enabled : gather_perdb_stats = true

Steps to reproduce:

  1. Configure mongodb shard cluster (3 replica set with 1 primary + 2 secondary)
  2. Collect mongodb metric using telegraf --config /etc/telegraf/telegraf.conf --test

Expected behavior:

  1. Connection metric available in connections_available, connection_current and connections_total_created.

Actual behavior:

  1. No value exported. Only 0 printed.

Additional info:

  1. The new metric are only available in nightly build but not working.

[Include gist of relevant config, logs, etc.]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/mongodbbugunexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions