chore: reduce alerting noise
This commit is contained in:
+2
-2
@@ -73,7 +73,7 @@ const modelHttpErrorsQuery = (product: "go" | "zen") => {
|
|||||||
const providerHttpErrorsQuery = () => {
|
const providerHttpErrorsQuery = () => {
|
||||||
const filters = [
|
const filters = [
|
||||||
{ column: "provider", op: "exists" },
|
{ column: "provider", op: "exists" },
|
||||||
{ column: "provider", op: "!=", value: "fireworks-go-glm-5.1" },
|
{ column: "status", op: "!=", value: "404" },
|
||||||
{ column: "user_agent", op: "contains", value: "opencode" },
|
{ column: "user_agent", op: "contains", value: "opencode" },
|
||||||
]
|
]
|
||||||
const successHttpStatus = calculatedField({
|
const successHttpStatus = calculatedField({
|
||||||
@@ -105,7 +105,7 @@ const providerHttpErrorsQuery = () => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
formulas: [
|
formulas: [
|
||||||
{ name: "ERROR", expression: "IF(GTE(SUM($SUCCESS, $FAILED), 50), DIV($FAILED, SUM($SUCCESS, $FAILED)), 0)" },
|
{ name: "ERROR", expression: "IF(GTE(SUM($SUCCESS, $FAILED), 100), DIV($FAILED, SUM($SUCCESS, $FAILED)), 0)" },
|
||||||
],
|
],
|
||||||
timeRange: 900,
|
timeRange: 900,
|
||||||
}).json
|
}).json
|
||||||
|
|||||||
Reference in New Issue
Block a user