From fd7767b1b8ec4eb6d9fd5f7695c70f019bed4141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leandro=20L=C3=B3pez=20=28inkel=29?= Date: Fri, 4 Feb 2022 11:45:43 -0300 Subject: [PATCH] Add Sentry datasource attributes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is required for https://github.com/grafana/terraform-provider-grafana/pull/373 Signed-off-by: Leandro López (inkel) --- datasource.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/datasource.go b/datasource.go index e0596e66..a44e13ed 100644 --- a/datasource.go +++ b/datasource.go @@ -149,6 +149,9 @@ type JSONData struct { // Used by Alertmanager Implementation string `json:"implementation,omitempty"` + + // Used by Sentry + OrgSlug string `json:"orgSlug,omitempty"` } // Required to avoid recursion during (un)marshal @@ -225,6 +228,9 @@ type SecureJSONData struct { // Used by GitHub AccessToken string `json:"accessToken,omitempty"` + + // Used by Sentry + AuthToken string `json:"authToken,omitempty"` } // Required to avoid recursion during unmarshal