helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

prometheus-mongodb-exporter - metrics per member in the set

Open nivimorbgp opened this issue 3 years ago • 1 comments

Is your feature request related to a problem ?

I would like to see metrics per member in the set. For example, when querying for mongodb_connections, I get the number of current number connections for each member in the set, but there's no label on the metric to distinguish between the members. The resulting graph shows what seems to be spikes in open connections but it's actually the difference between open connections in the primary and secondaries. Seems like the exporter is pulling metrics round-robin.

Describe the solution you'd like.

Metrics should have a label indicating which member they belong to. This way it would be possible to monitor and detect issues in each member individually. Some metrics do have that label.

Describe alternatives you've considered.

When installing the mongodb-exporter directly on the member in the set, the metrics are labeled accordingly. But we prefer to install mongodb-exporter as helm chart in our K8S.

Additional context.

No response

nivimorbgp avatar Jun 21 '22 06:06 nivimorbgp

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

stale[bot] avatar Jul 30 '22 16:07 stale[bot]

This issue is being automatically closed due to inactivity.

stale[bot] avatar Aug 14 '22 02:08 stale[bot]

This issue is being automatically closed due to inactivity.

stale[bot] avatar Sep 20 '22 18:09 stale[bot]