Alerting: Change the description for the 'Message' field in webhooks (#96153)

pull/97648/head
Santiago 5 months ago committed by GitHub
parent e3e7086a91
commit 7ad004236e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      pkg/services/ngalert/notifier/channels_config/available_channels.go
  2. 2
      public/app/features/alerting/unified/mockGrafanaNotifiers.ts

@ -959,7 +959,7 @@ func GetAvailableNotifiers() []*NotifierPlugin {
},
{ // New in 9.3.
Label: "Message",
Description: "Custom message. You can use template variables.",
Description: "Templated message to be used in the payload's \"message\" field.",
Element: ElementTypeTextArea,
PropertyName: "message",
Placeholder: alertingTemplates.DefaultMessageEmbed,

@ -1750,7 +1750,7 @@ export const grafanaAlertNotifiers: Record<GrafanaNotifierType, NotifierDTO> = {
element: 'textarea',
inputType: '',
label: 'Message',
description: 'Custom message. You can use template variables.',
description: 'Templated message to be used in the payload\'s "message" field.',
placeholder: '{{ template "default.message" . }}',
propertyName: 'message',
selectOptions: null,

Loading…
Cancel
Save