Gregory
My feedback
10 results found
-
6 votes
Gregory supported this idea ·
-
5 votes
Gregory supported this idea ·
-
11 votes
Gregory 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
-
32 votes
An error occurred while saving the comment Gregory commented
you can use the `mongodb_repl_passive{}` metric to get all read-only and analytics nodes
-
3 votes
Gregory supported this idea ·
-
1 vote
Gregory shared this idea ·
-
2 votes
Gregory supported this idea ·
-
39 votes
Gregory 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))
```