health_metric_config: add more memory metrics
Add shared and bufferAndCached memory metric to health config.
Change-Id: I02a8f3e88e601b25fe93ba18676b73c4ddddc7a8
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
diff --git a/health_metric_config.cpp b/health_metric_config.cpp
index ca50cfa..04ee169 100644
--- a/health_metric_config.cpp
+++ b/health_metric_config.cpp
@@ -238,6 +238,28 @@
}
}
},
+ "Memory_Shared": {
+ "Frequency": 1,
+ "Window_size": 120,
+ "Threshold": {
+ "Critical": {
+ "Value": 85.0,
+ "Log": true,
+ "Target": ""
+ }
+ }
+ },
+ "Memory_Buffered_And_Cached": {
+ "Frequency": 1,
+ "Window_size": 120,
+ "Threshold": {
+ "Critical": {
+ "Value": 85.0,
+ "Log": true,
+ "Target": ""
+ }
+ }
+ },
"Storage_RW": {
"Path": "/run/initramfs/rw",
"Frequency": 1,