I am analysing a redis instance on GCP(memorystore).The inbuits metrics given are not very helpful. Can someone guide on how to generate following metrics data?
Q1) How to visualize the data. What is the size of key and value stored in redis?
Q2) What is the max amount of read and write(Bytes/second) that has happened on this instance? Need this info to move data from redis to some other third party cache.
2
Answers
I am not sure what is GCP, but I believe you can connect to the redis server/instance and send command to it
Q1) How to visualize the data. What is the size of key and value stored in redis?
I believe the return of redis command "info" will provide the information
Q2) What is the max amount of read and write(Bytes/second) that has happened on this instance? Need this info to move data from redis to some other third party cache.
again, info command
I believe you can call the info command like every 1 second for 10 seconds and manually calculate the avg read/write(Bytes/second).
And run the script every minute. And you get the daily trend