mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Add CustomDetails field in PagerDuty contact point (#64860)
* Alerting: Add CustomDetails for PagerDuty * fix default value for 'severity' from 'error' to 'critical' * minimal docs for notifiers, specifying config for PagerDuty * replace notifier -> integration * replace notifier -> integration
This commit is contained in:
@@ -295,8 +295,8 @@ func GetAvailableNotifiers() []*NotifierPlugin {
|
||||
Label: "Severity",
|
||||
Element: ElementTypeInput,
|
||||
InputType: InputTypeText,
|
||||
Placeholder: "error",
|
||||
Description: "Severity of the event. It must be critical, error, warning, info - otherwise, the default is set which is error. You can use templates",
|
||||
Placeholder: "critical",
|
||||
Description: "Severity of the event. It must be critical, error, warning, info - otherwise, the default is set which is critical. You can use templates",
|
||||
PropertyName: "severity",
|
||||
},
|
||||
{ // New in 8.0.
|
||||
@@ -353,6 +353,13 @@ func GetAvailableNotifiers() []*NotifierPlugin {
|
||||
Placeholder: "{{ .ExternalURL }}",
|
||||
PropertyName: "client_url",
|
||||
},
|
||||
{ // New in 9.5.
|
||||
Label: "Details",
|
||||
Description: "A set of arbitrary key/value pairs that provide further detail about the incident.",
|
||||
Element: ElementTypeKeyValueMap,
|
||||
InputType: InputTypeText,
|
||||
PropertyName: "details",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user