Open adikalf opened 2 days ago
mongo version is 7
Hello, my current situation is: I installed skywalking10, mysqld_exporter, redis_exporter, rabbitmq_exporter, etc. After the configuration, the dashboard of skywalking10 will display the monitoring data. However, after mongodb_exporter is installed, it is also configured, and the browser can be accessed normally, the address of curl browser on skywalking10 server is also working, and the configuration of skywalking10 rules is OK, but the dashboard does not display mongo information. The permission of mongo is also configured. The version of mongodb_exporter is mongodb_exporter-0.42.0.linux-amd64.tar.gz. I have tried the versions of mongo 4,5,6,7,8, but I do not know the reason.
Have you also encountered such a situation?
Hello @adikalf difference in metrics number is based on getDiagnosticData response, we generate metrics dynamically. Regarding metrics I think #295 should address your request about that, at least partially.
@gd911314 Your topic is not related to main one, please create a separate discussion. I haven't used skywalking, so I can't help with that.
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.