Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit 3e0ab4f

Browse files
author
romich
committed
added manageAlerts, alertmanagerUid and implementation parameters to datasource JSONData struct
1 parent ff02ac6 commit 3e0ab4f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

datasource.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,13 @@ type JSONData struct {
9595
SigV4ExternalID string `json:"sigV4ExternalID,omitempty"`
9696
SigV4Profile string `json:"sigV4Profile,omitempty"`
9797
SigV4Region string `json:"sigV4Region,omitempty"`
98+
99+
// Used by Prometheus and Loki
100+
ManageAlerts bool `json:"manageAlerts,omitempty"`
101+
AlertmanagerUID string `json:"alertmanagerUid,omitempty"`
102+
103+
// Used by Alertmanager
104+
Implementation string `json:"implementation,omitempty"`
98105
}
99106

100107
// SecureJSONData is a representation of the datasource `secureJsonData` property

0 commit comments

Comments
 (0)