From 954549eb82287b6e8f1bf795f4e23d622e1ca19c Mon Sep 17 00:00:00 2001 From: Andrew Gadzik Date: Tue, 14 May 2024 21:12:22 -0400 Subject: [PATCH] Adds ComparisonDelta prop to MetricAlert (#93) --- sentry/metric_alerts.go | 1 + 1 file changed, 1 insertion(+) diff --git a/sentry/metric_alerts.go b/sentry/metric_alerts.go index ef9acb2..dbf710d 100644 --- a/sentry/metric_alerts.go +++ b/sentry/metric_alerts.go @@ -20,6 +20,7 @@ type MetricAlert struct { TimeWindow *float64 `json:"timeWindow,omitempty"` ThresholdType *int `json:"thresholdType,omitempty"` ResolveThreshold *float64 `json:"resolveThreshold,omitempty"` + ComparisonDelta *float64 `json:"comparisonDelta,omitempty"` Triggers []*MetricAlertTrigger `json:"triggers,omitempty"` Projects []string `json:"projects,omitempty"` Owner *string `json:"owner,omitempty"`