diff --git a/public/app/features/alerting/unified/components/rule-editor/AlertRuleNameInput.tsx b/public/app/features/alerting/unified/components/rule-editor/AlertRuleNameInput.tsx index 746783adebd..02859af1b86 100644 --- a/public/app/features/alerting/unified/components/rule-editor/AlertRuleNameInput.tsx +++ b/public/app/features/alerting/unified/components/rule-editor/AlertRuleNameInput.tsx @@ -34,6 +34,7 @@ export const AlertRuleNameAndMetric = () => { const isGrafanaRecordingRule = isGrafanaRecordingRuleByType(ruleFormType); const isCloudRecordingRule = isCloudRecordingRuleByType(ruleFormType); const recordingLabel = isGrafanaRecordingRule ? 'recording rule and metric' : 'recording rule'; + const namePlaceholder = isRecording ? 'recording rule' : 'alert rule'; const entityName = isRecording ? recordingLabel : 'alert rule'; return ( { : undefined, })} aria-label="name" - placeholder={`Give your ${entityName} a name`} + placeholder={`Give your ${namePlaceholder} a name`} /> {isGrafanaRecordingRule && (