Swap Used Incorrect Value

Hi all,

I’ve just installed Grafana, Prometheus and Node-Exporter in a Portainer Stack on my OMV NAS, (Debian), and I have a question regarding the Swap Used value shown in the Node Exporter Full Dashboard.

As you can see it is showing N/A. I know the present size is zero so why not show this and not N/A.

root@omv:~# free -h
               total        used        free      shared  buff/cache   available
Mem:            15Gi       8.2Gi       352Mi       2.3Gi       9.6Gi       7.3Gi
Swap:             0B          0B          0B
root@omv:~#

Sorry about the noob question, just started using this.

TIA

If you switch to the table view, can you see that your query actually returns the necessary data?

Thanks for the reply.

Table view shows NaN:

However Explore shows zero:

So it looks like some problem with a query itself…

Probably you can change NaN to 0 using Value mappings:

But it would be better to investigate what is wrong with the query.