I'm trying to write a script to monitor the redis latency from my server. I saw about the redis-cli --latency
command but can't find any way to preset to sample size it should actually measure, so I can actually see the difference in latency over time. I can't find documentation on this or any actual way to do this.
Is this possible and if it is, how?