Skip to content

Commit 35deef6

Browse files
chore: generate
1 parent 36f8b7e commit 35deef6

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

infra/monitoring.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ const modelHttpErrorsQuery = (product: "go" | "zen") => {
3838
calculatedFields: [
3939
{
4040
name: "is_failed_http_status",
41-
expression: product === "go"
42-
? `IF(AND(GTE($status, "400"), NOT(EQUALS($status, "401")), NOT(EQUALS($status, "429"))), 1, 0)`
43-
: `IF(AND(GTE($status, "400"), NOT(EQUALS($status, "401"))), 1, 0)`,
41+
expression:
42+
product === "go"
43+
? `IF(AND(GTE($status, "400"), NOT(EQUALS($status, "401")), NOT(EQUALS($status, "429"))), 1, 0)`
44+
: `IF(AND(GTE($status, "400"), NOT(EQUALS($status, "401"))), 1, 0)`,
4445
},
4546
],
4647
calculations: [

0 commit comments

Comments
 (0)