node_exporter icon indicating copy to clipboard operation
node_exporter copied to clipboard

Add differentiating label for alerts that use nodeCriticalSeverity

Open leizor opened this issue 11 months ago • 1 comments

This affects the following alerts:

  • NodeFilesystemAlmostOutOfFiles
  • NodeFilesystemSpaceFillingUp
  • NodeFilesystemAlmostOutOfSpace
  • NodeFilesystemFilesFillingUp

Each alert is actually two alerting rules, one for the warning level, and one for the critical level. However, the critical one can be set to emit as a warning by using $._config.nodeCriticalSeverity. When this is true, both alerting rules will generate alerts with an identical set of labels, which is an error when both alerts fire.

We add an extra label to these alerting rules in order to differentiate between the two levels when $._config.nodeCriticalSeverity is set to warning.

leizor avatar Nov 21 '24 23:11 leizor