Description
Hi,
I'm using mongo replicaset configuration with Percona exporter version 0.42 with the following parameters:
--collect-all
--compatible-mode.
I'm looking for metrics that show the replica set priority of each replica set/primary server.
The goal is to create a visualization that shows each member and its priority.
With the old exporter version 0.11, I used the following metrics:
mongodb_mongod_replset_member_priority
mongodb_mongod_replset_member_votes
mongodb_mongod_replset_member_hidden
However, on the 0.42 exporter, I found the metric mongodb_rs_electionCandidateMetrics_priorityAtElection, which is available only on the primary.
Additionally, when comparing the number of metrics between the primary server and secondary server (using the same exporter version), the numbers differ:
Primary: 9173 metrics
Secondary: 9104 metrics
Please advise.