metric-config: remove the free-memory threshold
By default we have a metric on the available memory. Free memory should
be a subset of available memory. You can have some memory held by
kernel caches that can be evicted as needed, which show up in available
and not free. Having a threshold on free memory is probably not what
anyone wants by default, so remove it from the default config.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I16d15266b6e10e6c7a788095b4b29d5e603e102c
diff --git a/health_metric_config.cpp b/health_metric_config.cpp
index 6360203..68cb0cd 100644
--- a/health_metric_config.cpp
+++ b/health_metric_config.cpp
@@ -234,14 +234,7 @@
},
"Memory_Free": {
"Frequency": 1,
- "Window_size": 120,
- "Threshold": {
- "Critical_Lower": {
- "Value": 15.0,
- "Log": true,
- "Target": ""
- }
- }
+ "Window_size": 120
},
"Memory_Shared": {
"Frequency": 1,