Gregory
My feedback
10 results found
-
6 votesGregory supported this idea ·
-
5 votesGregory supported this idea ·
-
10 votesGregory supported this idea ·
-
6 votes
An error occurred while saving the comment -
9 votes
An error occurred while saving the comment Gregory commented`rate(mongodb_opLatencies_reads_latency{ instance="cluster0-shard-00-02.v9uas.mongodb.net:27018"}[5m])/rate(mongodb_opLatencies_reads_ops[5m])/1000`
works well for me, you can adjust the time granularity
-
27 votes
An error occurred while saving the comment Gregory commentedyou can use the `mongodb_repl_passive{}` metric to get all read-only and analytics nodes
-
3 votesGregory supported this idea ·
-
1 voteGregory shared this idea ·
-
2 votesGregory supported this idea ·
-
39 votesGregory supported this idea ·
Replication of Oplog Window in hours.
```
(mongodb_oplog_latestOptime{instance="cluster1-shard-00-00.v9uas.mongodb.net:27018"} - mongodb_oplog_earliestOptime)/3660
```
Replication Lag.
```
scalar(sum(mongodb_members_optimeDate{rs_nm="###", rs_state="1"} AND (mongodb_members_state{rs_nm="###", rs_state="1"} == 1)) by (member_idx))
-
(sum(mongodb_members_optimeDate{rs_nm="###", rs_state="1"} AND (mongodb_members_state{rs_nm="###", rs_state="1"} == 2)) by (member_idx))
```