mongodb_exporter
mongodb_exporter copied to clipboard
new metrics
PMM-XXXX (optional, if ticket reported)
- [ ] Links to other linked pull requests (optional).
- [ ] Tests passed.
- [ ] Fix conflicts with target branch.
- [ ] Update jira ticket description if needed.
- [ ] Attach screenshots/console output to confirm new behavior to jira ticket, if applicable.
Once all checks pass and the code is ready for review, please add pmm-review-exporters
team as the reviewer. That would assign people from the review team automatically. Report any issues on our Forum or Discord.
Hi, @dbernstein1 thanks for the contribution. Could you provide information on what this PR is about and what problem you are fixing here? Thanks
@BupycHuk
- added the following metrics:
- collections with chunks currently being balanced among shards (mongodb_mongos_sharding_migrating)
- System balancer running on/off indictation (mongodb_mongos_sharding_balancer_running)
- chunk size in megabytes (mongodb_mongos_sharding_chunk_size_mb)
-
Included a label with the db/collection in mongodb_mongos_sharding_shard_chunks_total to see how chunks are balanced across shards in a given collection
-
Fixed a bug in balancerEnabled mongodb_mongos_sharding_balancer_enabled always returned 1 even when balanced was disabled
@dbernstein1 please sign the CLA
@BupycHuk I already did but it is showing up that I didn’t

Hi @dbernstein1 your commits signed with [email protected]
email address, but your GH account has different address. Because of that CLA check is not passing.
@dbernstein1 please add the email address used for this commit to your account
@dbernstein1 @BupycHuk CLA problem has gone.