I am using cockroach DB cluster on GKE and I'm monitoring with Prometheus and have imported this Grafana Dashboard
However, there are 4 types of RAM usage within the graph(RSS, goallocated,gototal,cgo allocated), therefore I'm not able to decide on which parameter there is possibility of high RAM usage and how can I set an alert?
Can you please guide If anyone of you have used this before?
You want to monitor RSS (Resident set size) and compare it against the maximum amount of virtual memory you want CockroachDB to use.
The others metrics as documented here are: