the latest idea…
100 - 100 * (node_memory_MemAvailable{instance=~"$host"} or (node_memory_MemFree{instance=~"$host"} + node_memory_Buffers{instance=~"$host"} + node_memory_Cached{instance=~"$host"})) / (node_memory_MemTotal{instance=~"$host"} + 0.1)
the latest idea…
100 - 100 * (node_memory_MemAvailable{instance=~"$host"} or (node_memory_MemFree{instance=~"$host"} + node_memory_Buffers{instance=~"$host"} + node_memory_Cached{instance=~"$host"})) / (node_memory_MemTotal{instance=~"$host"} + 0.1)
This one works flawlessly
thank you!
I created pull request [URL]https://github.com/percona/grafana-dashboards/pull/16[/URL]
Hi Mykola,
today I had the chance to upgrade all of our PMM server deployments to version 1.1.4, but I see that the fix for this issue hasn’t been merged.
The last query you sent me works as expected even with an high number of nodes:
100 - 100 * (node_memory_MemAvailable{instance=~"$host"} or (node_memory_MemFree{instance=~"$host"} + node_memory_Buffers{instance=~"$host"} + node_memory_Cached{instance=~"$host"})) / (node_memory_MemTotal{instance=~"$host"} + 0.1)
But by default the Grafana dashboard has this instead:
(node_memory_MemTotal{instance=~"$host"} - (node_memory_MemAvailable{instance=~"$host"} or (node_memory_MemFree{instance=~"$host"} + node_memory_Buffers{instance=~"$host"} + node_memory_Cached{instance=~"$host"}))) / node_memory_MemTotal{instance=~"$host"} * 100
which breaks the graph.
Could you please help?
Thanks
Hi,
I asked PMM Team to prioritize this pull request, so now it is reviewed and merged (fixed).
So new code (with fix) will be avaiable in the next 1.1.5 release.
Thanks, very appreciated.
Unanswered | Unsolved | Solved
MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright © 2006 - 2024 Percona LLC. All rights reserved.