Skip to content

Commit

Permalink
Merge pull request #600 from nix-community/pgmajfault
Browse files Browse the repository at this point in the history
prometheus: fix vmstat_pgmajfault
  • Loading branch information
Mic92 authored Jan 16, 2025
2 parents dd3d5c5 + 7c70697 commit 1b22575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/roles/prometheus/default-alerts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
};

HostMemoryUnderMemoryPressure = {
expr = "rate(node_vmstat_pgmajfault[1m]) > 1000";
expr = "rate(kernel_vmstat_pgmajfault[1m]) > 1000";
annotations.description = "{{$labels.instance}}: The node is under heavy memory pressure. High rate of major page faults: {{$value}}";
};

Expand Down

0 comments on commit 1b22575

Please sign in to comment.