Skip to content

Commit

Permalink
add ProjectName to StackdriverAlertQuery struct to enable alerts on o…
Browse files Browse the repository at this point in the history
…ther GCP projects
  • Loading branch information
Ronan Barrett authored and K-Phoen committed Aug 11, 2023
1 parent 23ee8c0 commit e77b635
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit e77b635

Please sign in to comment.