This topic describes monitoring metrics related to memory on a host.
used
Definition
The size of used physical memory on a host.
Description
| Metric | Metric name | Unit |
|---|---|---|
| used | memory_used | Byte |
Calculation expression
(avg(node_memory_MemTotal_bytes{@LABELS}) by (@GBLABELS) - avg(node_memory_MemFree_bytes{@LABELS}) by (@GBLABELS) - avg(node_memory_Cached_bytes{@LABELS}) by (@GBLABELS) - avg(node_memory_Buffers_bytes{@LABELS}) by (@GBLABELS)) / 1073741824
buffers
Definition
The size of the buffer cache in the kernel on a host.
Description
| Metric | Metric name | Unit |
|---|---|---|
| buffers | memory_buffers | Byte |
Calculation expression
avg(node_memory_Buffers_bytes{@LABELS}) by (@GBLABELS) / 1073741824
free
Definition
The size of available physical memory on a host.
Description
| Metric | Metric name | Unit |
|---|---|---|
| free | memory_free | Byte |
Calculation expression
avg(node_memory_MemFree_bytes{@LABELS}) by (@GBLABELS) / 1073741824
cached
Definition
The size of cached memory on a host.
Description
| Metric | Metric name | Unit |
|---|---|---|
| cached | memory_cached | Byte |
Calculation expression
avg(node_memory_Cached_bytes{@LABELS}) by (@GBLABELS) / 1073741824