mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Clarify that the AWS SNS subject field cannot be empty
This commit is contained in:
parent
ea788975e0
commit
99075ae737
@ -1688,13 +1688,13 @@ func GetAvailableNotifiers() []*NotifierPlugin {
|
||||
Label: "Subject",
|
||||
Element: ElementTypeTextArea,
|
||||
InputType: InputTypeText,
|
||||
Description: "Optional subject. You can use templates to customize this field",
|
||||
Description: "Optional subject. By default, it uses the default title template and can be customized with templates and custom messages. It cannot be an empty string",
|
||||
PropertyName: "subject",
|
||||
Placeholder: alertingTemplates.DefaultMessageTitleEmbed,
|
||||
},
|
||||
{
|
||||
Label: "Message",
|
||||
Description: "Optional message. You can use templates to customize this field. Using a custom message will replace the default message",
|
||||
Description: "Optional message. By default, it uses the default message template and can be customized with templates and custom messages",
|
||||
Element: ElementTypeTextArea,
|
||||
PropertyName: "message",
|
||||
Placeholder: alertingTemplates.DefaultMessageEmbed,
|
||||
|
@ -3146,7 +3146,8 @@ export const grafanaAlertNotifiers: Record<GrafanaNotifierType, NotifierDTO> = {
|
||||
element: 'input',
|
||||
inputType: 'text',
|
||||
label: 'Subject',
|
||||
description: 'Optional subject. You can use templates to customize this field',
|
||||
description:
|
||||
'Optional subject. By default, it uses the default title template and can be customized using templates. It cannot be an empty string',
|
||||
placeholder: '{{ template "default.title" . }}',
|
||||
propertyName: 'subject',
|
||||
selectOptions: null,
|
||||
@ -3165,7 +3166,7 @@ export const grafanaAlertNotifiers: Record<GrafanaNotifierType, NotifierDTO> = {
|
||||
inputType: '',
|
||||
label: 'Message',
|
||||
description:
|
||||
'Optional message. You can use templates to customize this field. Using a custom message will replace the default message',
|
||||
'Optional message. By default, it uses the default message template and can be customized with templates and custom messages',
|
||||
placeholder: '{{ template "default.message" . }}',
|
||||
propertyName: 'message',
|
||||
selectOptions: null,
|
||||
|
Loading…
Reference in New Issue
Block a user