Skip to main content
Loading

Key Metrics to Monitor

Aerospike recommends that you monitor the metrics listed here.

For the complete list of metrics, see the Metric Reference.

Operating system and server health

In addition to monitoring Aerospike metrics you should also monitor system metrics with the Prometheus Node Exporter or an OS-specific tool.

Finding total namespace memory

The metric memory_used_bytes was removed in server 7.0 to streamline configuration and capacity planning, and to stabilize overhead so that memory usage calculations are more accurate. In server 7.0, no single metric reports the amount of memory used in the namespace. A combination of items provide the same information as memory_used_bytes.

You allocated a specific amount of storage for your namespace when you created it. You also set a limit in the system-memory-pct parameter that tells Aerospike when the memory is full enough to stop writing to the namespace. Before you reach that limit, you can determine the total memory used in the namespace by adding the following individual metrics. Depending on which of the following is stored in memory in your namespace, add up the values to get the total used memory bytes:

  • data_used_bytes
  • index_used_bytes
  • set_index_used_bytes
  • sindex_used_bytes

You may also run the info namespace command in the Aerospike Admin (asadm) tool. See Aerospike Admin - Info namespace for more information.

Admin> info namespace
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Namespace Usage Information (2023-10-13 15:59:46 UTC)~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Namespace| Node|Evictions| Stop|~System Memory~|~Primary Index~~|~~Secondary~~~|~~~~~~~~~~~~~~~~~~~Storage Engine~~~~~~~~~~~~~~~~~~
| | |Writes| Avail%| Evict%| Type| Used|~~~~Index~~~~~| Type| Used| Used%|Evict%| Used|Avail%|Avail
| | | | | | | | Type| Used| | | | | Stop%| |Stop%
bar |172.17.0.3:3000| 0.000 |False | 74| 0|shmem|625.000 KB|shmem|0.000 B |memory|625.000 KB|0.06 %| 0.0 %|70.0 %|97.0 %|5.0 %
bar | | 0.000 | | | | |625.000 KB| |0.000 B | |625.000 KB|0.06 %| | | |
test |172.17.0.3:3000| 0.000 |False | 74| 0|shmem|625.000 KB|shmem|0.000 B |memory|625.000 KB|0.06 %| 0.0 %|70.0 %|87.0 %|5.0 %
test | | 0.000 | | | | |625.000 KB| |0.000 B | |625.000 KB|0.06 %| | | |
Number of rows: 2

Other metrics to watch