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

Commit fc20dfe

Browse files
authored
Merge pull request #57 from grafana/inkel/sentry-datasource-attributes
Add Sentry datasource attributes
2 parents b012274 + fd7767b commit fc20dfe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

datasource.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ type JSONData struct {
149149

150150
// Used by Alertmanager
151151
Implementation string `json:"implementation,omitempty"`
152+
153+
// Used by Sentry
154+
OrgSlug string `json:"orgSlug,omitempty"`
152155
}
153156

154157
// Required to avoid recursion during (un)marshal
@@ -225,6 +228,9 @@ type SecureJSONData struct {
225228

226229
// Used by GitHub
227230
AccessToken string `json:"accessToken,omitempty"`
231+
232+
// Used by Sentry
233+
AuthToken string `json:"authToken,omitempty"`
228234
}
229235

230236
// Required to avoid recursion during unmarshal

0 commit comments

Comments
 (0)