skip to Main Content

Memcached – prometheus sum one NaN value result into NaN. How to avoid it?

I have the following metrics in prometheus: it counts memcached command by sec: sum (irate (memcached_commands_total{instance="memcached-instance"}[5m])) by (command) Result: {command="delete"} 0 {command="flush"} 0 {command="get"} 62.733333333333334 {command="incr"} 0 {command="set"} 93.43333333333334 {command="touch"} NaN {command="cas"} 0 {command="decr"} 0 I want to count commands…

VIEW QUESTION
Back To Top
Search