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.
@Luv I dont have the raw data, but I would imagine thats because the rate of change turns negative periodically. I’ve seen this before and always used non_negative_derivative to solve it.