Ver Fonte

chore: generate

opencode-agent[bot] há 3 meses atrás
pai
commit
35deef6175
1 ficheiros alterados com 4 adições e 3 exclusões
  1. 4 3
      infra/monitoring.ts

+ 4 - 3
infra/monitoring.ts

@@ -38,9 +38,10 @@ const modelHttpErrorsQuery = (product: "go" | "zen") => {
     calculatedFields: [
       {
         name: "is_failed_http_status",
-        expression: product === "go"
-          ? `IF(AND(GTE($status, "400"), NOT(EQUALS($status, "401")), NOT(EQUALS($status, "429"))), 1, 0)`
-          : `IF(AND(GTE($status, "400"), NOT(EQUALS($status, "401"))), 1, 0)`,
+        expression:
+          product === "go"
+            ? `IF(AND(GTE($status, "400"), NOT(EQUALS($status, "401")), NOT(EQUALS($status, "429"))), 1, 0)`
+            : `IF(AND(GTE($status, "400"), NOT(EQUALS($status, "401"))), 1, 0)`,
       },
     ],
     calculations: [