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

Commit 7fcf1d4

Browse files
Merge pull request #44 from romich/datasource-alerting-config
Alerting parameters for datasource JSONData struct
2 parents a8d033c + d5e4a3d commit 7fcf1d4

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
@@ -129,6 +129,13 @@ type JSONData struct {
129129
SigV4ExternalID string `json:"sigV4ExternalID,omitempty"`
130130
SigV4Profile string `json:"sigV4Profile,omitempty"`
131131
SigV4Region string `json:"sigV4Region,omitempty"`
132+
133+
// Used by Prometheus and Loki
134+
ManageAlerts bool `json:"manageAlerts,omitempty"`
135+
AlertmanagerUID string `json:"alertmanagerUid,omitempty"`
136+
137+
// Used by Alertmanager
138+
Implementation string `json:"implementation,omitempty"`
132139
}
133140

134141
// Required to avoid recursion during (un)marshal

0 commit comments

Comments
 (0)