Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
export const isAnInvalidTestUrl = (rawUrl: string) => {
const url = new URL(rawUrl);
const isSelfHostName = url.hostname
.split(".")
.slice(-2) // ex: any.sub.openstatus.dev
.join(".")
.includes("openstatus.dev"); // ex: openstatus.dev:80
return isSelfHostName && url.pathname.startsWith("/api/checker/");
};