mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-13 15:44:56 +00:00
chore: activate low tps alerts
This commit is contained in:
@@ -135,7 +135,7 @@ const modelLowTpsQuery = (product: "go" | "zen") => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
formulas: [{ name: "LOW_TPS", expression: "IF(GTE($TOTAL, 100), $TPS, 999)" }],
|
formulas: [{ name: "LOW_TPS", expression: "IF(GTE($TOTAL, 100), $TPS, 999)" }],
|
||||||
timeRange: 900,
|
timeRange: 1800,
|
||||||
}).json
|
}).json
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -178,13 +178,12 @@ new honeycomb.Trigger("IncreasedModelHttpErrorsZen", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
new honeycomb.Trigger("LowModelTpsGo", {
|
new honeycomb.Trigger("LowModelTpsGo", {
|
||||||
disabled: true,
|
|
||||||
name: "Low Model TPS [Go]",
|
name: "Low Model TPS [Go]",
|
||||||
description,
|
description,
|
||||||
queryJson: modelLowTpsQuery("go"),
|
queryJson: modelLowTpsQuery("go"),
|
||||||
alertType: "on_change",
|
alertType: "on_change",
|
||||||
frequency: 300,
|
frequency: 600,
|
||||||
thresholds: [{ op: "<", value: 20, exceededLimit: 1 }],
|
thresholds: [{ op: "<=", value: 10, exceededLimit: 1 }],
|
||||||
recipients: [
|
recipients: [
|
||||||
{
|
{
|
||||||
id: webhookRecipient.id,
|
id: webhookRecipient.id,
|
||||||
@@ -198,13 +197,12 @@ new honeycomb.Trigger("LowModelTpsGo", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
new honeycomb.Trigger("LowModelTpsZen", {
|
new honeycomb.Trigger("LowModelTpsZen", {
|
||||||
disabled: true,
|
|
||||||
name: "Low Model TPS [Zen]",
|
name: "Low Model TPS [Zen]",
|
||||||
description,
|
description,
|
||||||
queryJson: modelLowTpsQuery("zen"),
|
queryJson: modelLowTpsQuery("zen"),
|
||||||
alertType: "on_change",
|
alertType: "on_change",
|
||||||
frequency: 300,
|
frequency: 600,
|
||||||
thresholds: [{ op: "<", value: 20, exceededLimit: 1 }],
|
thresholds: [{ op: "<=", value: 10, exceededLimit: 1 }],
|
||||||
recipients: [
|
recipients: [
|
||||||
{
|
{
|
||||||
id: webhookRecipient.id,
|
id: webhookRecipient.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user