MongoDB virtual memory usage warning
High memory usage
>>>
(
sum
(
{type="virtual"}) BY (instance) /
sum
(
{type="mapped"}) BY (instance)) > 3
The query computes, per MongoDB instance, the ratio of total virtual memory (mongodb_memory{type="virtual"}) to total mapped memory (mongodb_memory{type="mapped"}) and triggers the alert when this ratio is greater than 3 – i.e., the instance’s virtual memory is more than three times its mapped memory, signalling unusually high memory usage.
Get Alert✕
Download
Copy to Clipboard