mongodb_exporter icon indicating copy to clipboard operation
mongodb_exporter copied to clipboard

new metrics

Open dbernstein1 opened this issue 2 years ago • 10 comments

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.

dbernstein1 avatar Oct 11 '22 00:10 dbernstein1

CLA assistant check
All committers have signed the CLA.

it-percona-cla avatar Oct 11 '22 00:10 it-percona-cla

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 avatar Oct 11 '22 02:10 BupycHuk

@BupycHuk

  1. 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)
  1. 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

  2. Fixed a bug in balancerEnabled mongodb_mongos_sharding_balancer_enabled always returned 1 even when balanced was disabled

dbernstein1 avatar Oct 11 '22 18:10 dbernstein1

@dbernstein1 please sign the CLA

BupycHuk avatar Oct 21 '22 20:10 BupycHuk

@BupycHuk I already did but it is showing up that I didn’t Screen Shot 2022-10-21 at 3 53 01 PM

dbernstein1 avatar Oct 21 '22 22:10 dbernstein1

Screen Shot 2022-10-21 at 3 55 25 PM

dbernstein1 avatar Oct 21 '22 22:10 dbernstein1

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.

artemgavrilov avatar Nov 17 '22 17:11 artemgavrilov

@BupycHuk I added [email protected] to my github account. Tried signing the CLA again

Screenshot 2022-12-05 at 6 36 06 PM

dbernstein1 avatar Dec 06 '22 02:12 dbernstein1

@dbernstein1 @BupycHuk CLA problem has gone.

artemgavrilov avatar Dec 07 '22 10:12 artemgavrilov