I am using telegraf to collect certain metrics so that I can apply the “available memory” equation as described here:
However, when I compare the graphs between the formula in the aforementioned link (blue line) against the standard “available memory” field of telegraf (red line), I see differences. See below:
This raises the question, how does telegraf calculate available memory? What is the applied formula?