mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-17 12:42:17 +00:00
chore: reduce alerting noise
This commit is contained in:
parent
65f96a5851
commit
f21c582db9
1 changed files with 2 additions and 2 deletions
|
|
@ -73,7 +73,7 @@ const modelHttpErrorsQuery = (product: "go" | "zen") => {
|
|||
const providerHttpErrorsQuery = () => {
|
||||
const filters = [
|
||||
{ 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" },
|
||||
]
|
||||
const successHttpStatus = calculatedField({
|
||||
|
|
@ -105,7 +105,7 @@ const providerHttpErrorsQuery = () => {
|
|||
},
|
||||
],
|
||||
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,
|
||||
}).json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue