diff --git a/apps/api/src/routes/monitors.ts b/apps/api/src/routes/monitors.ts index 21534d9..e60e5a8 100644 --- a/apps/api/src/routes/monitors.ts +++ b/apps/api/src/routes/monitors.ts @@ -10,7 +10,7 @@ const MonitorBody = t.Object({ request_headers: t.Optional(t.Any({ description: "Request headers as key-value object" })), request_body: t.Optional(t.Nullable(t.String({ maxLength: 65536, description: "Request body for POST/PUT/PATCH (max 64KB)" }))), timeout_ms: t.Optional(t.Number({ minimum: 1000, maximum: 60000, default: 30000, description: "Request timeout in ms" })), - interval_s: t.Optional(t.Number({ minimum: 1, default: 60, description: "Check interval in seconds" })), + interval_s: t.Optional(t.Number({ minimum: 2, default: 60, description: "Check interval in seconds (minimum 2)" })), query: t.Optional(t.Any({ description: "PingQL query β filter conditions for up/down" })), regions: t.Optional(t.Array(t.String(), { description: "Regions to run checks from. Empty array = all regions." })), }); diff --git a/apps/web/src/views/docs.ejs b/apps/web/src/views/docs.ejs index c582691..40b3324 100644 --- a/apps/web/src/views/docs.ejs +++ b/apps/web/src/views/docs.ejs @@ -148,7 +148,7 @@
{
"name": "My API",
"url": "https://api.example.com/health",
- "interval_s": 60, // check every 60 seconds (min: 10)
+ "interval_s": 60, // check every 60 seconds (min: 2)
"query": { ... } // optional β see Query Language below
}
diff --git a/apps/web/src/views/landing.ejs b/apps/web/src/views/landing.ejs
index becde52..62becba 100644
--- a/apps/web/src/views/landing.ejs
+++ b/apps/web/src/views/landing.ejs
@@ -295,8 +295,8 @@
Physical servers across every continent. Ping from the regions that matter to your users, not just one location.
+Dedicated servers in Europe and the US. Ping from the regions that matter to your users, not just one location.
@@ -524,7 +524,7 @@