"expr": "sum (memcached_commands_total{instance=~\"$node\", command=\"set\"}) / sum (memcached_commands_total{instance=~\"$node\", command=\"get\"})",
"expr": "sum (memcached_commands_total{instance=~\"$node\", command=\"get\"}) / sum (memcached_commands_total{instance=~\"$node\", command=\"set\"})",
is
should be