Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
🚑 (#590)
Thibault Le Ouay4fdac550f068
diff --git a/apps/server/src/checker/index.ts b/apps/server/src/checker/index.tsindex 4e2f198db..8a5f4c638 100644--- a/apps/server/src/checker/index.ts+++ b/apps/server/src/checker/index.ts@@ -55,8 +55,8 @@ checkerRoute.post("/updateStatus", async (c) => {isNotNull(incidentTable.resolvedAt),isNotNull(incidentTable.acknowledgedAt),),- );-+ )+ .get();// if we are in errorif (!statusCode || (statusCode < 200 && statusCode > 300)) {// create incident@@ -78,7 +78,7 @@ checkerRoute.post("/updateStatus", async (c) => {region: region,});- if (!incident) {+ if (incident === undefined) {const redisKey = `${monitorId}-${cronTimestamp}-error`;// We add the new region to the setawait redis.sadd(redisKey, region);