This topic describes monitoring metrics related to the memory of a host.
used
Definition
The size of used physical memory of a host.
Description
| Metric | Metric field name | Unit |
|---|---|---|
| used | memory_used | Gigabytes |
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 of a host.
Description
| Metric | Metric field name | Unit |
|---|---|---|
| buffers | memory_buffers | Gigabytes |
Calculation expression
avg(node_memory_Buffers_bytes{@LABELS}) by (@GBLABELS) / 1073741824
free
Definition
The size of available physical memory of a host.
Description
| Metric | Metric field name | Unit |
|---|---|---|
| free | memory_free | Gigabytes |
Calculation expression
avg(node_memory_MemFree_bytes{@LABELS}) by (@GBLABELS) / 1073741824
cached
Definition
The size of cached memory of a host.
Description
| Metric | Metric field name | Unit |
|---|---|---|
| cached | memory_cached | Gigabytes |
Calculation expression
avg(node_memory_cached_bytes{@LABELS}) by (@GBLABELS) / 1073741824