File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/cdk8s/src/monitoring/rules Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ export function getResourceMonitoringRuleGroups(): PrometheusRuleSpecGroups[] {
8282 summary : "Potential memory leak detected" ,
8383 } ,
8484 expr : PrometheusRuleSpecGroupsRulesExpr . fromString (
85- "increase (node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes[6h] ) > 2147483648" , // 2GB increase
85+ "(node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) - (node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes offset 6h ) > 2147483648" , // 2GB increase
8686 ) ,
8787 for : "30m" ,
8888 labels : { severity : "warning" } ,
@@ -293,7 +293,7 @@ export function getResourceMonitoringRuleGroups(): PrometheusRuleSpecGroups[] {
293293 summary : "Unusual process count detected" ,
294294 } ,
295295 expr : PrometheusRuleSpecGroupsRulesExpr . fromString (
296- "node_procs_running > 2 * ( avg_over_time(node_procs_running[7d]) by (instance) )" ,
296+ "node_procs_running > 2 * avg_over_time(node_procs_running[7d])" ,
297297 ) ,
298298 for : "10m" ,
299299 labels : { severity : "warning" } ,
You can’t perform that action at this time.
0 commit comments