fix: rename "breached" status to "exceeded" for clarity
The word "breached" in infrastructure monitoring was confusing users as it implied a security breach. Renamed to "exceeded" which better describes threshold violations (e.g. "threshold exceeded"). ## Changes - Renamed monitor status value from "breached" to "exceeded" across server types, status service, queue helper, notification builder, email subject lines, and MongoDB aggregation queries - Renamed client types, status box/label components, translation key, and infrastructure page props to match - Added DB migration (0005) to update existing monitors with the old status value
This commit is contained in:
1 parent
eac470cb68
commit
943ef92053
15 files changed
+63
-36
No files matched your search
@@ -25,7 +25,7 @@ export const getStatusPalette = (status: MonitorStatus): PaletteKey => {
|
||||
if (status === "down") {
|
||||
return "error";
|
||||
}
|
||||
if (status === "breached") {
|
||||
if (status === "exceeded") {
|
||||
return "error";
|
||||
}
|
||||
return "warning";
|
||||
|
||||
Reference in new issue
Block a user