fix(monitoring): classify host memory pressure accurately
This commit is contained in:
@@ -103,6 +103,10 @@ class TestInfrastructure:
|
||||
assert ac == "host_resource"
|
||||
|
||||
def test_host_memory(self):
|
||||
ac, nt = classify_alert_early("HostMemoryUsageHigh", "warning", {})
|
||||
assert ac == "host_resource"
|
||||
|
||||
def test_historical_host_out_of_memory_alias(self):
|
||||
ac, nt = classify_alert_early("HostOutOfMemory", "warning", {})
|
||||
assert ac == "host_resource"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user