Open viggy28 opened 6 years ago
Look into the serverStatus metrics and replset member health metrics
@vr001, did you find a good metric to monitor db state? uptime and number of connections do seem like they'd do the trick -- what was the issue with them?
I see a lot of metrics, but is there any metric which helps to find whether the db is down or not? Uptime doesn't do the job. (or am i missing something?) I thought if the connection goes to 0, then it potentially means the db is down. Is there a better way? Thanks.