Showing Memory utilization in Grafana dashboard

5.4k Views Asked by At

I have configured node exporter, grafana and prometheus through docker compose. I want to show Memory usage in the dashboard. I want to match the value shown with what is shown in the Ubuntu System monitor.

Below are my queries: enter image description here

This is the transform:

enter image description here

If I turn of the transform by clicking enter image description here button, panel gets rendered like this:

enter image description here

The value of 8.4 GB is correct one as my Ubuntu System Monitor shows the same. My concern is why it is not showing any gauge representing 8.4 GiB of memory is used (the same way it shows thick red gauge for Total Memory when I click that enter image description here button).

Update

It started showing something. Selecting Apply to options: Memory Usage:

enter image description here

Selecting Apply to options: Total Memory:

enter image description here

1

There are 1 best solutions below

0
On

In Gauge options, set Min = 0.

Your current gauge assumes the minimal value of the gauge is minimal value of current usage query.

enter image description here