Alerting: indicate whether contact point is provisioned (#48323)

This commit is contained in:
Jean-Philippe Quéméner
2022-04-27 20:53:36 +02:00
committed by GitHub
parent e8f4b58a8b
commit a3256bafa7
4 changed files with 60 additions and 9 deletions
@@ -1000,12 +1000,13 @@ func AllReceivers(route *config.Route) (res []string) {
}
type GettableGrafanaReceiver struct {
UID string `json:"uid"`
Name string `json:"name"`
Type string `json:"type"`
DisableResolveMessage bool `json:"disableResolveMessage"`
Settings *simplejson.Json `json:"settings"`
SecureFields map[string]bool `json:"secureFields"`
UID string `json:"uid"`
Name string `json:"name"`
Type string `json:"type"`
DisableResolveMessage bool `json:"disableResolveMessage"`
Settings *simplejson.Json `json:"settings"`
SecureFields map[string]bool `json:"secureFields"`
Provenance models.Provenance `json:"provenance,omitempty"`
}
type PostableGrafanaReceiver struct {