I am using the redis input plugin of Telegraf.
As the Used_memory field of Telegraf is in bytes and it is incrementing, I have used a derivative function to get memory used in past 10 seconds. But sometimes, this gives me value of used_memory in negative. Why is this so ?
Any explanation is welcome. This below is the grafana dashboard.