Alerting: Fix incorrect "not" wording for active timings (#106355)

The help text for active timings on an alert was confusing, indicating that the time range would cause the alert not to
notify, when it actually works as the only time the alert would notify.
This commit is contained in:
Chris Marchbanks
2025-06-06 16:33:13 +02:00
committed by GitHub
parent 34b6d51016
commit 84fa79f8fd
2 changed files with 2 additions and 2 deletions
@@ -23,7 +23,7 @@ export function ActiveTimingFields({ alertmanager }: BaseAlertmanagerArgs) {
data-testid="am-active-timing-select"
description={t(
'alerting.mute-timing-fields.am-active-timing-select-description-active-timings',
'Select a time interval to define when not to send notifications for this alert rule'
'Select a time interval to define when to only send notifications for this alert rule'
)}
className={styles.muteTimingField}
invalid={!!errors.contactPoints?.[alertmanager]?.activeTimeIntervals}
+1 -1
View File
@@ -1799,7 +1799,7 @@
"title-delete-mute-timing": "Delete mute timing"
},
"mute-timing-fields": {
"am-active-timing-select-description-active-timings": "Select a time interval to define when not to send notifications for this alert rule",
"am-active-timing-select-description-active-timings": "Select a time interval to define when to only send notifications for this alert rule",
"am-mute-timing-select-description-mute-timings": "Select a mute timing to define when not to send notifications for this alert rule",
"am-mute-timing-select-label-mute-timings": "Mute timings"
},