Skip to content

Commit

Permalink
Alerting: Grafana Receiver settings should support non-string values (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gotjosh authored Jan 25, 2023
1 parent c6a7791 commit facc6b2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions alerting/receivers.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ type InvalidReceiverError struct {
}

type GrafanaReceiver struct {
UID string `json:"uid"`
Name string `json:"name"`
Type string `json:"type"`
DisableResolveMessage bool `json:"disableResolveMessage"`
Settings map[string]string `json:"settings"` //TODO: This used to be simpleJSON but I'm not even sure we need it.
SecureSettings map[string]string `json:"secureSettings"`
UID string `json:"uid"`
Name string `json:"name"`
Type string `json:"type"`
DisableResolveMessage bool `json:"disableResolveMessage"`
Settings map[string]interface{} `json:"settings"`
SecureSettings map[string]string `json:"secureSettings"`
}

type ConfigReceiver = config.Receiver
Expand Down

0 comments on commit facc6b2

Please sign in to comment.