@@ -45,7 +45,7 @@ const modelHttpErrorsQuery = (product: "go" | "zen") => {
4545 { op : "COUNT" , name : "TOTAL" , filterCombination : "AND" , filters } ,
4646 { op : "SUM" , name : "FAILED" , column : "is_failed_http_status" , filterCombination : "AND" , filters } ,
4747 ] ,
48- formulas : [ { name : "ERROR" , expression : "IF(GTE($TOTAL, 500 ), DIV($FAILED, $TOTAL), 0)" } ] ,
48+ formulas : [ { name : "ERROR" , expression : "IF(GTE($TOTAL, 100 ), DIV($FAILED, $TOTAL), 0)" } ] ,
4949 timeRange : 900 ,
5050 } ) . json
5151}
@@ -86,9 +86,9 @@ const providerHttpErrorsQuery = (product: "go" | "zen") => {
8686 } ,
8787 ] ,
8888 formulas : [
89- { name : "ERROR" , expression : "IF(GTE(SUM($SUCCESS, $FAILED), 250 ), DIV($FAILED, SUM($SUCCESS, $FAILED)), 0)" } ,
89+ { name : "ERROR" , expression : "IF(GTE(SUM($SUCCESS, $FAILED), 50 ), DIV($FAILED, SUM($SUCCESS, $FAILED)), 0)" } ,
9090 ] ,
91- timeRange : 1800 ,
91+ timeRange : 900 ,
9292 } ) . json
9393}
9494
@@ -100,7 +100,7 @@ new honeycomb.Trigger("IncreasedModelHttpErrorsGo", {
100100 queryJson : modelHttpErrorsQuery ( "go" ) ,
101101 alertType : "on_change" ,
102102 frequency : 300 ,
103- thresholds : [ { op : ">=" , value : 0.9 , exceededLimit : 1 } ] ,
103+ thresholds : [ { op : ">=" , value : 0.7 , exceededLimit : 1 } ] ,
104104 recipients : [
105105 {
106106 id : webhookRecipient . id ,
@@ -119,7 +119,7 @@ new honeycomb.Trigger("IncreasedModelHttpErrorsZen", {
119119 queryJson : modelHttpErrorsQuery ( "zen" ) ,
120120 alertType : "on_change" ,
121121 frequency : 300 ,
122- thresholds : [ { op : ">=" , value : 0.9 , exceededLimit : 1 } ] ,
122+ thresholds : [ { op : ">=" , value : 0.7 , exceededLimit : 1 } ] ,
123123 recipients : [
124124 {
125125 id : webhookRecipient . id ,
@@ -138,7 +138,7 @@ new honeycomb.Trigger("IncreasedProviderHttpErrorsGo", {
138138 queryJson : providerHttpErrorsQuery ( "go" ) ,
139139 alertType : "on_change" ,
140140 frequency : 600 ,
141- thresholds : [ { op : ">=" , value : 0.9 , exceededLimit : 1 } ] ,
141+ thresholds : [ { op : ">=" , value : 0.7 , exceededLimit : 1 } ] ,
142142 recipients : [
143143 {
144144 id : webhookRecipient . id ,
@@ -157,7 +157,7 @@ new honeycomb.Trigger("IncreasedProviderHttpErrorsZen", {
157157 queryJson : providerHttpErrorsQuery ( "zen" ) ,
158158 alertType : "on_change" ,
159159 frequency : 600 ,
160- thresholds : [ { op : ">=" , value : 0.9 , exceededLimit : 1 } ] ,
160+ thresholds : [ { op : ">=" , value : 0.7 , exceededLimit : 1 } ] ,
161161 recipients : [
162162 {
163163 id : webhookRecipient . id ,
@@ -184,7 +184,7 @@ new honeycomb.Trigger("IncreasedFreeTierRequests", {
184184 } ) . json ,
185185 alertType : "on_change" ,
186186 frequency : 900 ,
187- thresholds : [ { op : ">=" , value : 60 , exceededLimit : 1 } ] ,
187+ thresholds : [ { op : ">=" , value : 50 , exceededLimit : 1 } ] ,
188188 baselineDetails : [ { type : "percentage" , offsetMinutes : 1440 } ] ,
189189 recipients : [
190190 {
0 commit comments