Hi,
I want to monitor MongoDB replication lag, is this metric the equivalent one ?
netdata_mongodb_replication_optimedate_delay_seconds_ago_average
I mean, if I take the value matching the secondary server like this ?
netdata_mongodb_replication_optimedate_delay_seconds_ago_average{chart="mongodb_local.optimedate_delay",family="replication and oplog",dimension="<secondary_server_ip>:27018"}
Other question, how do I dynamically find, in my queries, which ip targets the primary server ?
Thanks
Morgan