From 97c97260af6ba918a192720bd06216ad4d4ae042 Mon Sep 17 00:00:00 2001 From: Ronan Barrett Date: Thu, 10 Aug 2023 22:03:35 +0200 Subject: [PATCH] add ProjectName to StackdriverAlertQuery struct to enable alerts on other GCP projects --- alert.go | 1 + 1 file changed, 1 insertion(+) diff --git a/alert.go b/alert.go index 08002ad..f899658 100644 --- a/alert.go +++ b/alert.go @@ -74,6 +74,7 @@ type AlertModel struct { } type StackdriverAlertQuery struct { + ProjectName string `json:"projectName,omitempty"` AlignOptions []StackdriverAlignOptions `json:"alignOptions,omitempty"` AliasBy string `json:"aliasBy,omitempty"` MetricType string `json:"metricType,omitempty"`