Skip to content

Commit c527bb5

Browse files
Merge pull request #1189 from kyoto/monitoring-watchdog-alert-rename
Monitoring: The "DeadMansSwitch" alert has been renamed to "Watchdog"
2 parents 46efbb4 + c47c76f commit c527bb5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/public/components/cluster-overview.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ const permissionedLoader = () => {
170170
}
171171

172172
// Show events list if user lacks permission to view graphs.
173-
const q = 'sum(ALERTS{alertstate="firing", alertname!="DeadMansSwitch"})';
173+
const q = 'sum(ALERTS{alertstate="firing", alertname!="Watchdog"})';
174174
return coFetchJSON(`${prometheusBasePath}/api/v1/query?query=${encodeURIComponent(q)}`)
175175
.then(
176176
() => AllGraphs,

frontend/public/components/graphs/health.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const AlertsFiring = ({namespace}) => (
3030
title="Alerts Firing"
3131
name="Alerts"
3232
namespace={namespace}
33-
query={`sum(ALERTS{alertstate="firing", alertname!="DeadMansSwitch" ${namespace ? `, namespace="${namespace}"` : ''}})`}
33+
query={`sum(ALERTS{alertstate="firing", alertname!="Watchdog" ${namespace ? `, namespace="${namespace}"` : ''}})`}
3434
to="/monitoring"
3535
/>
3636
);

0 commit comments

Comments
 (0)