Measuring memory consumption with grafana/inlfuxdb

I have the metric mempool being used, and I’m trying to come up with a percent of used memory. Does anyone know what different values I’ll have to add to find that. currently it doesn’t seem correct.

Or is there a different metric that I should be using, I’m just trying to figure out what i should be using from metrics pulled from librenms.

We only record used and free so:

total = used + free

perc = used / total * 100