autotune
autotune copied to clipboard
Prioritize the notifications to avoid redundancy
Both error and critical notifications are generated when cpu and memory requests/limits are not set which is duplicating the notifications. Error based notifications 224001 and 223001 are not required as the critical notifications already exists.
"notifications": {
"224001": {
"type": "error",
"message": "Amount field is missing in the Memory Section",
"code": 224001
},
"524002": {
"type": "critical",
"message": "Memory Limit Not Set",
"code": 524002
},
"524001": {
"type": "critical",
"message": "Memory Request Not Set",
"code": 524001
},
"223001": {
"type": "error",
"message": "Amount field is missing in the CPU Section",
"code": 223001
},
"111101": {
"type": "info",
"message": "Short Term Recommendations Available",
"code": 111101
},
"523001": {
"type": "critical",
"message": "CPU Request Not Set",
"code": 523001
},
"423001": {
"type": "warning",
"message": "CPU Limit Not Set",
"code": 423001
}
},