Wrong Replication Lag in "MongoDB Replset Summary"

I deployed a mongodb sharded cluster with two shards.Each shard included a R-S-A mongodb replication.I monitored the cluster with the PMM.The version of both server and client is 2.18.The dashboard shows the wrong replication lag:51.63year.

Hi @webstock_zt,

Could you check mongodb_mongod_replset_member_replication_lag metric in Explore?

1 Like

Thank you for your reply! I checked the metric in Explore.It’s shown like this:

1 Like

Another question is the services of arbiter nodes are not shown in the dashboards. I used the command "
pmm-admin inventory list services --service-type=mongodb" to check my services, and all the services seem like to be added correctly:

1 Like

Service type Service name Address and Port Service ID
MongoDB rs0_primary_96:23450 114.80.94.96:23450 /service_id/1b9a873c-23c3-4ff2-b04d-1b6f50fd88fa
MongoDB rs1_primary_73:23450 114.80.94.73:23450 /service_id/2a5c0a29-1766-436d-9e3c-cf53367040c9
MongoDB conf_42:23452 114.80.94.42:23452 /service_id/5255bbcb-aa58-4a3b-b163-bb7c87d868b0
MongoDB rs0_arbiter_86:23451 114.80.94.86:23451 /service_id/55c1ad29-c95c-4edb-8c82-fea689db3064
MongoDB conf_111:23452 114.80.94.111:23452 /service_id/8175a20e-87f9-4680-9f1d-b6b91b86c5b4
MongoDB conf_111:23453 114.80.94.111:23453 /service_id/9af4ba94-5a90-492e-8ed4-26bf35006f3c
MongoDB rs0_secondary_86:23450 114.80.94.86:23450 /service_id/a778f250-9566-4363-bdba-a3a93309499a
MongoDB mongos_42 114.80.94.42:23454 /service_id/b584d751-1d7f-49a2-9688-0748505ca6de
MongoDB rs1_secondary_45:23450 114.80.94.45:23450 /service_id/c942899e-a737-4ad5-a99c-0645e75d34f7
MongoDB rs1_arbiter_45:23451 114.80.94.45:23451 /service_id/edd03d4d-d9c0-4e2f-a340-67a436f7a22a

1 Like

I should see 10 services, but I only see 8 services except two arbiters:

1 Like

It’s a bug. I have created a ticket.

2 Likes

Arbiter instances are shown in dashboards.
e.g.

Could you check pmm-agent logs?

1 Like

Thanks! The arbiters in my sharded cluster are still not shown in dashboards.How can I view the log conveniently?

1 Like