mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
[Alerting]: alertmanager notifier fixes (#34575)
This commit is contained in:
committed by
GitHub
parent
a0b78313f3
commit
b48832c0f7
@@ -638,7 +638,7 @@ func GetAvailableNotifiers() []*alerting.NotifierPlugin {
|
||||
},
|
||||
},
|
||||
{
|
||||
Type: "alertmanager",
|
||||
Type: "prometheus-alertmanager",
|
||||
Name: "Alertmanager",
|
||||
Description: "Sends notifications to Alertmanager",
|
||||
Heading: "Alertmanager Settings",
|
||||
@@ -651,6 +651,19 @@ func GetAvailableNotifiers() []*alerting.NotifierPlugin {
|
||||
PropertyName: "url",
|
||||
Required: true,
|
||||
},
|
||||
{
|
||||
Label: "Basic Auth User",
|
||||
Element: alerting.ElementTypeInput,
|
||||
InputType: alerting.InputTypeText,
|
||||
PropertyName: "basicAuthUser",
|
||||
},
|
||||
{
|
||||
Label: "Basic Auth Password",
|
||||
Element: alerting.ElementTypeInput,
|
||||
InputType: alerting.InputTypePassword,
|
||||
PropertyName: "basicAuthPassword",
|
||||
Secure: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user