Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
docs: fix discrepency (#2674)
Thibault Le Ouay5632d39a5802
diff --git a/apps/server/src/routes/v1/index.ts b/apps/server/src/routes/v1/index.tsindex 5dd5fdbb1..54a4fe703 100644--- a/apps/server/src/routes/v1/index.ts+++ b/apps/server/src/routes/v1/index.ts@@ -52,7 +52,7 @@ if (env.NODE_ENV === "production") {url: "https://www.openstatus.dev",},description:- "This version is deprecated please use v2 API: Read more about the new API in the documentation: https://www.openstatus.dev/docs/reference/api",+ "This version is deprecated please use v2 API: https://api.openstatus.dev/openapi. Read more in the documentation: https://www.openstatus.dev/docs/reference/overview",},tags: [{diff --git a/apps/web/src/content/docs.config.ts b/apps/web/src/content/docs.config.tsindex 82bbb131a..06baa407b 100644--- a/apps/web/src/content/docs.config.ts+++ b/apps/web/src/content/docs.config.ts@@ -215,6 +215,10 @@ export const docsNav: DocsNavSection[] = [slug: "sdk/nodejs/notification-service",label: "Notification Service",},+ {+ slug: "sdk/nodejs/private-location-service",+ label: "Private Location Service",+ },{ slug: "sdk/nodejs/health-service", label: "Health Service" },{ slug: "sdk/nodejs/error-handling", label: "Error Handling" },{ slug: "sdk/nodejs/typescript-tips", label: "TypeScript Tips" },diff --git a/apps/web/src/content/pages/docs/concept/private-locations.mdx b/apps/web/src/content/pages/docs/concept/private-locations.mdxindex 7dba255d9..81966b0e3 100644--- a/apps/web/src/content/pages/docs/concept/private-locations.mdx+++ b/apps/web/src/content/pages/docs/concept/private-locations.mdx@@ -29,7 +29,9 @@ A private location is not an inbound port openstatus calls into. The probe initi2. The probe opens an outbound, authenticated connection to the openstatus platform using the token issued when you created the location.3. openstatus dispatches the checks assigned to that location down the connection. The probe runs them against your internal endpoints and streams the results back.-The consequence is that you only need **outbound** network access from the probe to `api.openstatus.dev` on port 443. No inbound firewall rules, no exposed ports, no reverse tunnel — the same shape as any other agent that calls home.+The consequence is that you only need **outbound** network access from the probe to the openstatus ingest endpoint, `openstatus-private-location.fly.dev`, on port 443. No inbound firewall rules, no exposed ports, no reverse tunnel — the same shape as any other agent that calls home.++If you self-host openstatus, point the probe at your own ingest server with the `OPENSTATUS_INGEST_URL` environment variable — see [self-hosting openstatus](/docs/guides/self-hosting-openstatus).## How it differs from a public location@@ -50,7 +52,7 @@ Running a private location moves operational responsibility to you. Plan for:- **Probe availability.** If your probe host is down, openstatus can't run checks from it. Treat the probe as part of your own infrastructure — restart policy, host monitoring, log retention.- **Token handling.** The probe's token authenticates it as your workspace. Inject it as an environment variable, store it the same way you store other secrets, and rotate it if a host is decommissioned.-- **Egress only.** Because the connection is outbound, an egress firewall that blocks `api.openstatus.dev:443` will silently stop the probe from running checks. The probe will appear "connected" briefly and then go quiet.+- **Egress only.** Because the connection is outbound, an egress firewall that blocks `openstatus-private-location.fly.dev:443` will silently stop the probe from running checks. The probe will appear "connected" briefly and then go quiet.## Next stepsdiff --git a/apps/web/src/content/pages/docs/concept/status-reports-and-incidents.mdx b/apps/web/src/content/pages/docs/concept/status-reports-and-incidents.mdxindex 1f1962cc9..a3668ecfe 100644--- a/apps/web/src/content/pages/docs/concept/status-reports-and-incidents.mdx+++ b/apps/web/src/content/pages/docs/concept/status-reports-and-incidents.mdx@@ -23,7 +23,7 @@ The word "incident" is overloaded. Colloquially it means the whole event — the## Incidents: detection-An incident is created **automatically** when enough of a monitor's recent checks fail — a threshold mechanism that filters out one-off network blips. You never create an incident by hand.+An incident is created **automatically** when at least half of a monitor's configured regions report an `error` — requiring agreement across regions is what filters out a single flaky probe. You never create an incident by hand.An incident is scoped to a single **monitor** and is primarily an internal object:@@ -90,7 +90,7 @@ On the status page itself, when several apply to one component, the worst wins:## A typical event, end to end-1. **14:00** — Your API monitor's checks start failing from multiple regions. An **incident** is created and your on-call gets paged.+1. **14:00** — Your API monitor's checks start failing from enough regions to cross the threshold. An **incident** is created and your on-call gets paged.2. **14:02** — You acknowledge the incident, confirm it's real, and publish a **status report** on your status page: status `investigating`, API component set to `major_outage`.3. **14:15** — Root cause found. You post an update: `identified`, API downgraded to `partial_outage` as the rollback lands.4. **14:30** — Rollback complete, checks recovering. Update: `monitoring`.diff --git a/apps/web/src/content/pages/docs/guides/getting-started.mdx b/apps/web/src/content/pages/docs/guides/getting-started.mdxindex 726ec3b33..44e3bbb30 100644--- a/apps/web/src/content/pages/docs/guides/getting-started.mdx+++ b/apps/web/src/content/pages/docs/guides/getting-started.mdx@@ -14,13 +14,25 @@ Our how-to guides solve specific problems with step-by-step instructions, walk y- **[Monitor your MCP server](/docs/guides/how-to-monitor-mcp-server)** — set up monitoring for Model Context Protocol servers.- **[Export metrics to an OTLP endpoint](/docs/guides/how-to-export-metrics-to-otlp-endpoint)** — send monitoring data to your observability platform.- **[Run synthetic tests in GitHub Actions](/docs/guides/how-to-run-synthetic-test-github-action)** — automate testing in your CI/CD pipeline.+- **[Manage openstatus with Terraform](/docs/guides/how-to-manage-openstatus-with-terraform)** — declare monitors, pages, and notifications as code.## Status pages and widgets+- **[Configure your status page](/docs/guides/how-to-configure-status-page)** — trackers, themes, links, and locales.+- **[Import a status page from another provider](/docs/guides/how-to-import-status-page)** — migrate from Statuspage, Better Stack, Instatus, or Checkly.+- **[Translate your status page](/docs/guides/how-to-translate-status-page)** — offer the page in multiple languages.+- **[Create your own status page theme](/docs/guides/how-to-create-status-page-theme)** — design and contribute a community theme.- **[Add an SVG status badge to a GitHub README](/docs/guides/how-to-add-svg-status-badge)** — display real-time status in your repository.- **[Use the React status widget](/docs/guides/how-to-use-react-widget)** — embed live status updates in your React application.- **[Embed a status page in an iframe](/docs/guides/how-to-embed-status-page-iframe)** — drop a chromeless status page into any site.- **[Deploy a status page on Cloudflare Pages](/docs/guides/how-deploy-status-page-cf-pages)** — host your status page on Cloudflare's edge network.+- **[Post status updates to X and Bluesky](/docs/guides/how-to-deploy-statuspage-socials-notifier)** — mirror your status page on social media.++## Agents and team workflow++- **[Connect openstatus to Claude Code](/docs/guides/how-to-connect-openstatus-to-claude-code)** — give a coding agent access through the MCP server.+- **[Set up the Slack agent](/docs/guides/how-to-setup-slack-agent)** — manage incidents from Slack in natural language.+- **[Set up SAML single sign-on](/docs/guides/how-to-set-up-saml-sso)** — let your team sign in through your identity provider.## Infrastructure and deploymentdiff --git a/apps/web/src/content/pages/docs/guides/how-to-configure-status-page.mdx b/apps/web/src/content/pages/docs/guides/how-to-configure-status-page.mdxindex fd9d17fc3..714bc823f 100644--- a/apps/web/src/content/pages/docs/guides/how-to-configure-status-page.mdx+++ b/apps/web/src/content/pages/docs/guides/how-to-configure-status-page.mdx@@ -90,6 +90,9 @@ Pick a theme under **Settings > Appearance**, in the **Style** field. The shippe- `supabase`- `github-contrast`- `dracula`+- `passbolt`+- `gruvbox`+- `tomorrow`Visit [themes.openstatus.dev](https://themes.openstatus.dev) to see the list of supported themes. You can also [create and contribute your own](/docs/guides/how-to-create-status-page-theme).diff --git a/apps/web/src/content/pages/docs/guides/how-to-create-status-page-theme.mdx b/apps/web/src/content/pages/docs/guides/how-to-create-status-page-theme.mdxindex c4f22ce8b..16eb891ef 100644--- a/apps/web/src/content/pages/docs/guides/how-to-create-status-page-theme.mdx+++ b/apps/web/src/content/pages/docs/guides/how-to-create-status-page-theme.mdx@@ -10,7 +10,7 @@ description: "A step-by-step guide to designing, testing, and contributing a com|---|---|| **Prerequisites** | a GitHub account, Node.js and pnpm installed, basic familiarity with CSS custom properties |-Community themes let you restyle a status page with your own colors and design — and once merged, everyone can pick your theme from the [theme explorer](/docs/guides/how-to-configure-status-page#2-theme-explorer). This guide walks you through designing a palette, testing it locally, and opening a pull request.+Community themes let you restyle a status page with your own colors and design — and once merged, everyone can pick your theme from the [theme explorer](/docs/guides/how-to-configure-status-page#2-appearance). This guide walks you through designing a palette, testing it locally, and opening a pull request.Themes are contributed through GitHub. We keep them in version control so every theme stays reviewable, accessible, and consistent across the platform.diff --git a/apps/web/src/content/pages/docs/guides/how-to-import-status-page.mdx b/apps/web/src/content/pages/docs/guides/how-to-import-status-page.mdxindex f0796e0b0..13da25128 100644--- a/apps/web/src/content/pages/docs/guides/how-to-import-status-page.mdx+++ b/apps/web/src/content/pages/docs/guides/how-to-import-status-page.mdx@@ -110,7 +110,7 @@ The import creates resources in openstatus but does not automatically make your1. **Verify imported data** — open your status page and confirm that components, incidents, and maintenances appear correctly. Check that component groups are structured as expected.2. **Connect monitors to static components** — imported components may not have monitors attached. Navigate to each component and link an existing openstatus monitor, or [create a new monitor](/docs/tutorial/create-your-first-monitor) for it.-3. **Update DNS for your custom domain** — if you are migrating a custom domain (e.g., `status.yourdomain.com`), update your CNAME record to point to `status.openstatus.dev`. See the [status page reference](/docs/reference/status-page) for DNS configuration details.+3. **Update DNS for your custom domain** — if you are migrating a custom domain (e.g., `status.yourdomain.com`), point its CNAME record at `cname.vercel-dns.com` (or, for an apex domain, an A record at `76.76.21.21`). See the [status page reference](/docs/reference/status-page) for DNS configuration details.4. **Invite subscribers** — if your provider does not support subscriber export (Better Stack) or you need to re-verify email subscribers, use the openstatus subscription system to notify your users of the new page.## Troubleshootingdiff --git a/apps/web/src/content/pages/docs/guides/how-to-manage-openstatus-with-terraform.mdx b/apps/web/src/content/pages/docs/guides/how-to-manage-openstatus-with-terraform.mdxindex 1325d08f9..6afe25cb0 100644--- a/apps/web/src/content/pages/docs/guides/how-to-manage-openstatus-with-terraform.mdx+++ b/apps/web/src/content/pages/docs/guides/how-to-manage-openstatus-with-terraform.mdx@@ -48,7 +48,7 @@ terraform init## Step 2 — define your monitors-Add monitors to your `main.tf`. We'll create three types — HTTP, TCP, and DNS.+Add monitors to your `main.tf`. We'll create three of the four types the provider supports — HTTP, TCP, and DNS. ICMP works the same way; see [`openstatus_icmp_monitor`](/docs/reference/terraform#openstatus_icmp_monitor).**HTTP monitor with assertions:**diff --git a/apps/web/src/content/pages/docs/guides/how-to-monitor-mcp-server.mdx b/apps/web/src/content/pages/docs/guides/how-to-monitor-mcp-server.mdxindex b53323edf..b584ceae0 100644--- a/apps/web/src/content/pages/docs/guides/how-to-monitor-mcp-server.mdx+++ b/apps/web/src/content/pages/docs/guides/how-to-monitor-mcp-server.mdx@@ -24,7 +24,7 @@ openstatus monitors MCP servers by sending JSON-RPC `ping` requests to your endp## Prerequisites-- An [openstatus account](https://www.openstatus.dev/app/login).+- An [openstatus account](https://app.openstatus.dev/login).- The [openstatus CLI installed](/docs/tutorial/get-started-with-openstatus-cli).- An MCP server with a publicly accessible endpoint.- A basic understanding of the [JSON-RPC 2.0 protocol](https://www.jsonrpc.org/specification).diff --git a/apps/web/src/content/pages/docs/guides/how-to-run-synthetic-test-github-action.mdx b/apps/web/src/content/pages/docs/guides/how-to-run-synthetic-test-github-action.mdxindex 9c10cb767..ec0cd59c3 100644--- a/apps/web/src/content/pages/docs/guides/how-to-run-synthetic-test-github-action.mdx+++ b/apps/web/src/content/pages/docs/guides/how-to-run-synthetic-test-github-action.mdx@@ -38,15 +38,15 @@ tests:1. Go to your openstatus dashboard.2. Click on a monitor.-3. The ID is in the URL: `https://www.openstatus.dev/app/[workspace]/monitors/[ID]`.+3. The ID is in the URL: `https://app.openstatus.dev/monitors/[ID]`.**Tip:** start with your most critical monitors and expand from there.### 2. Get your openstatus API key-1. Go to your openstatus workspace settings-2. Navigate to the API section-3. Create a new API key or copy an existing one+1. Go to **Settings → General** in your openstatus dashboard+2. Find the **API Keys** card+3. Click **Create** and copy the key — you won't see it again after closing the dialog4. Store it securely - you'll need it for the next step### 3. Add your API key to GitHub Secretsdiff --git a/apps/web/src/content/pages/docs/guides/how-to-set-up-saml-sso.mdx b/apps/web/src/content/pages/docs/guides/how-to-set-up-saml-sso.mdxindex f7533d99d..e3ac0822f 100644--- a/apps/web/src/content/pages/docs/guides/how-to-set-up-saml-sso.mdx+++ b/apps/web/src/content/pages/docs/guides/how-to-set-up-saml-sso.mdx@@ -13,7 +13,7 @@ description: "Let your team sign in to openstatus through Okta, Entra ID, or anySAML single sign-on lets your team sign in to openstatus through your own identity provider. GitHub and Google stay available — SSO is an additional way in, not a replacement.-<Aside>SSO is a paid add-on, available on the **Starter**, **Team**, and **Scale** plans. If your subscription ends, SSO is switched off automatically and your team keeps access through GitHub and Google. Your provider configuration is retained, so re-subscribing restores it without reconnecting.</Aside>+<Aside>SSO is a paid add-on, available on the **Starter**, **Pro**, and **Scale** plans. If your subscription ends, SSO is switched off automatically and your team keeps access through GitHub and Google. Your provider configuration is retained, so re-subscribing restores it without reconnecting.</Aside>## Step 1: add SSO to your workspacediff --git a/apps/web/src/content/pages/docs/guides/how-to-setup-slack-agent.mdx b/apps/web/src/content/pages/docs/guides/how-to-setup-slack-agent.mdxindex a54184991..abb6e476a 100644--- a/apps/web/src/content/pages/docs/guides/how-to-setup-slack-agent.mdx+++ b/apps/web/src/content/pages/docs/guides/how-to-setup-slack-agent.mdx@@ -42,8 +42,9 @@ which subscribes the channel to a status page and joins the bot at the same timeThe available slash commands are:- `/openstatus subscribe <status-page-url>` — subscribe this channel to a status page-- `/openstatus unsubscribe <status-page-url>` — unsubscribe+- `/openstatus unsubscribe [status-page-url]` — unsubscribe. The URL is optional when the channel is subscribed to exactly one page; with several, the command lists them and asks you to name one.- `/openstatus subscriptions` — show this channel's subscriptions+- `/openstatus help` — show this list (also the response to any unrecognised subcommand)### 4. Verify the installationdiff --git a/apps/web/src/content/pages/docs/guides/how-to-use-react-widget.mdx b/apps/web/src/content/pages/docs/guides/how-to-use-react-widget.mdxindex f8a503368..1782c792c 100644--- a/apps/web/src/content/pages/docs/guides/how-to-use-react-widget.mdx+++ b/apps/web/src/content/pages/docs/guides/how-to-use-react-widget.mdx@@ -1,7 +1,7 @@---category: Guidestitle: How to Use openstatus React Widget-description: Add an openstatus status widget to your React or Next.js app with the @openstatus/react package, as a server or client component.+description: Add an openstatus status widget to your React or Next.js app with the @openstatus/react package as a React Server Component, or build your own with the typed fetch helper.---Install the [npm](https://www.npmjs.com/package/@openstatus/react) package:@@ -32,7 +32,20 @@ It will automatically attach the slug to the href to allow the user to open a ne#### With Tailwind CSS-```ts+The widget is styled with Tailwind utility classes, so Tailwind has to scan the published package+for them.++**Tailwind v4** — add a `@source` directive to the CSS file that imports Tailwind:++```css+/* app/globals.css */+@import "tailwindcss";+@source "../node_modules/@openstatus/react/dist";+```++**Tailwind v3** — add the package to `content`:++```js// tailwind.config.jsmodule.exports = {content: [@@ -69,3 +82,18 @@ async function CustomStatusWidget() {return <div>{/* customize */}</div>;}```++`getStatus` never throws: a network failure or a non-`2xx` response degrades to+`{ status: "unknown" }` rather than bubbling an error into your page.++### Pointing at a self-hosted API++Both `getStatus` and `StatusWidget` call `https://api.openstatus.dev` by default. If you self-host+openstatus, set `OPENSTATUS_API_URL` on the server, or pass the base URL as the second argument:++```tsx+const res = await getStatus("slug", "https://api.status.example.com");+```++The variable is read at request time and has no `NEXT_PUBLIC_` prefix, so a prebuilt image can be+pointed at a different API without rebuilding.diff --git a/apps/web/src/content/pages/docs/reference/cli-reference.mdx b/apps/web/src/content/pages/docs/reference/cli-reference.mdxindex 30af88eb2..abd23df2b 100644--- a/apps/web/src/content/pages/docs/reference/cli-reference.mdx+++ b/apps/web/src/content/pages/docs/reference/cli-reference.mdx@@ -32,7 +32,7 @@ Run an HTTP check against a URL from 28 global regions.> openstatus check https://openstat.us --timing> openstatus check https://openstat.us --json | jq '.summary'-Run a one-shot HTTP check against a URL from 28 global regions. The check is executed by the public openstatus speed checker. No API token is required. Results stream to the terminal as they arrive from each region. Output is sorted in the order regions report back (roughly fastest first). Pass `--timing` to see DNS/Connection/TLS/TTFB/Transfer phase breakdowns. Pass `--json` for a machine-readable single object including all phase data. Rate limit: 3 requests per 60 seconds.+Run a one-shot HTTP check against a URL from 28 global regions. The check is executed by the public openstatus speed checker. No API token is required. Results stream to the terminal as they arrive from each region. Output is sorted in the order regions report back (roughly fastest first). Pass `--timing` to see DNS/Connection/TLS/TTFB/Transfer phase breakdowns. Pass `--json` for a machine-readable single object including all phase data. Rate limits: 3 requests per 60 seconds and 10 requests per hour, both per IP.Usage:diff --git a/apps/web/src/content/pages/docs/reference/dns-monitor.mdx b/apps/web/src/content/pages/docs/reference/dns-monitor.mdxindex 2742e3d1c..505942ba8 100644--- a/apps/web/src/content/pages/docs/reference/dns-monitor.mdx+++ b/apps/web/src/content/pages/docs/reference/dns-monitor.mdx@@ -52,6 +52,12 @@ The interval at which the DNS checks are performed. Supported frequencies:- 30 minutes- 1 hour+<Aside>+Which frequencies you can select depends on your plan: **Hobby** offers `10m`, `30m` and `1h`;+**Starter** adds `1m` and `5m`; `30s` is **Pro** and **Scale** only. See+[pricing](https://www.openstatus.dev/pricing) for the full breakdown.+</Aside>+### Response time thresholds#### Timeoutdiff --git a/apps/web/src/content/pages/docs/reference/grpc-monitor.mdx b/apps/web/src/content/pages/docs/reference/grpc-monitor.mdxindex 5eccffd01..2be8dba1a 100644--- a/apps/web/src/content/pages/docs/reference/grpc-monitor.mdx+++ b/apps/web/src/content/pages/docs/reference/grpc-monitor.mdx@@ -102,6 +102,12 @@ How often the health check runs. Supported frequencies:- `30 minutes`- `1 hour`+<Aside>+Which frequencies you can select depends on your plan: **Hobby** offers `10m`, `30m` and `1h`;+**Starter** adds `1m` and `5m`; `30s` is **Pro** and **Scale** only. See+[pricing](https://www.openstatus.dev/pricing) for the full breakdown.+</Aside>+### Response time thresholds#### Timeoutdiff --git a/apps/web/src/content/pages/docs/reference/http-monitor.mdx b/apps/web/src/content/pages/docs/reference/http-monitor.mdxindex 9ca1ab55b..86e0b0387 100644--- a/apps/web/src/content/pages/docs/reference/http-monitor.mdx+++ b/apps/web/src/content/pages/docs/reference/http-monitor.mdx@@ -121,12 +121,19 @@ The interval at which the HTTP monitor will perform checks. Supported frequencie- `30 minutes`- `1 hour`+<Aside>+Which frequencies you can select depends on your plan: **Hobby** offers `10m`, `30m` and `1h`;+**Starter** adds `1m` and `5m`; `30s` is **Pro** and **Scale** only. See+[pricing](https://www.openstatus.dev/pricing) for the full breakdown.+</Aside>+### Response time thresholds#### Timeout**Type:** Duration (optional)**Default:** `45 seconds`+**Range:** 0–120000 msThe maximum duration to wait for the HTTP request to complete. If the request exceeds this time, it is considered a failure.@@ -140,6 +147,7 @@ The duration after which the HTTP request is considered to be performing in a de**Type:** Integer (optional)**Default:** `3`+**Range:** 0–10The number of times the monitor will automatically retry the HTTP request upon failure before reporting a definitive error. For example: `3`@@ -152,7 +160,7 @@ Whether the checker follows HTTP redirects. When enabled, up to 10 redirects are### Assertions-Assertions let you validate specific aspects of the HTTP response. You can define up to 10 status code, 10 body, and 10 header assertions per monitor.+Assertions let you validate specific aspects of the HTTP response. You can define up to 10 status code, 10 body, and 10 header assertions per monitor. Body assertions come in two flavours: raw text and JSONPath.#### Body assertions@@ -169,9 +177,29 @@ Validate the content of the HTTP response body.- `Greater Than` / `Greater Than or Equal` — lexicographic comparison against the target.- `Less Than` / `Less Than or Equal` — lexicographic comparison against the target.+#### JSON body assertions++Validate a single value inside a JSON response body, addressed by a+[JSONPath](https://www.npmjs.com/package/jsonpath-plus) expression. The extracted value is+compared as a string, using the same comparators as body assertions.++| Field | Description |+|---|---|+| `path` | JSONPath expression, e.g. `$.status` or `$.data.items[0].id`. |+| `compare` | Any body-assertion comparator. |+| `target` | Expected value. |++A body that fails to parse as JSON fails the assertion.++<Aside>+JSON body assertions are available through the REST and ConnectRPC APIs, the CLI, and Terraform.+The dashboard's assertion editor currently offers status, header, and (text) body assertions+only — a monitor created with a JSON body assertion keeps it, but you cannot add one from the UI.+</Aside>+#### Status code assertions-Validate the HTTP status code of the response.+Validate the HTTP status code of the response. The target must be a valid status code, 100–599.**Comparisons:**diff --git a/apps/web/src/content/pages/docs/reference/icmp-monitor.mdx b/apps/web/src/content/pages/docs/reference/icmp-monitor.mdxindex d22f3cd71..77f06f78d 100644--- a/apps/web/src/content/pages/docs/reference/icmp-monitor.mdx+++ b/apps/web/src/content/pages/docs/reference/icmp-monitor.mdx@@ -48,6 +48,12 @@ The interval at which the ICMP monitor pings the target host. Supported frequenc- `30 minutes`- `1 hour`+<Aside>+Which frequencies you can select depends on your plan: **Hobby** offers `10m`, `30m` and `1h`;+**Starter** adds `1m` and `5m`; `30s` is **Pro** and **Scale** only. See+[pricing](https://www.openstatus.dev/pricing) for the full breakdown.+</Aside>+### Response time thresholds#### Timeout@@ -55,7 +61,7 @@ The interval at which the ICMP monitor pings the target host. Supported frequenc**Type:** Duration (optional)**Default:** `45 seconds`-The total budget for the whole check (all three echo requests). Each packet waits at most the remaining budget for a reply.+The total budget for the whole check (all three echo requests). The remaining budget is divided evenly across the packets still to send, so each packet gets roughly a third of the timeout — and the check stops early if the budget runs out.#### Degradeddiff --git a/apps/web/src/content/pages/docs/reference/location.mdx b/apps/web/src/content/pages/docs/reference/location.mdxindex be08cd628..34c2edb2f 100644--- a/apps/web/src/content/pages/docs/reference/location.mdx+++ b/apps/web/src/content/pages/docs/reference/location.mdx@@ -12,55 +12,65 @@ You can use these locations to:- Allowlist monitoring IPs in your firewall.- Understand where requests originate during synthetic monitoring.+## Two forms of the same region code++The dashboard, the CLI, and the deprecated v1 REST API use the **bare** code (`iad`, `fra`,+`koyeb_fra`, `railway_us-east4-eqdc4a`). The ConnectRPC API, the Terraform provider, and the SDKs+use a **prefixed, hyphenated** form derived from the `Region` enum (`fly-iad`, `fly-fra`,+`koyeb-fra`, `railway-us-east4`).++They address the same probe — pick whichever form the surface you are using expects. The tables+below list both.+### Fly.io regions and monitoring IPsBelow is the complete list of regions used for monitoring, along with their associated IPv4 and IPv6 addresses.-| Region code | Location name | IPv4 address | IPv6 address |-|-------------|-------------------|-------------------|-------------------------------|-| ams | Amsterdam | 209.71.64.1 | 2a09:8280:e601:1:0:22:b79b:0 |-| arn | Stockholm | 209.71.98.189 | 2a09:8280:e602:1:0:22:b79b:0 |-| bom | Mumbai | 209.71.68.172 | 2a09:8280:e605:1:0:22:b79b:0 |-| cdg | Paris | 209.71.86.183 | 2a09:8280:e607:1:0:22:b79b:0 |-| dfw | Dallas | 209.71.71.89 | 2a09:8280:e609:1:0:22:b79b:0 |-| ewr | Newark | 209.71.69.221 | 2a09:8280:e610:1:0:22:b79b:0 |-| fra | Frankfurt | 209.71.90.204 | 2a09:8280:e612:1:0:22:b79b:0 |-| gru | São Paulo | 209.71.94.28 | 2a09:8280:e615:1:0:22:b79b:0 |-| iad | Ashburn, Virginia | 209.71.81.6 | 2a09:8280:e618:1:0:22:b79b:0 |-| jnb | Johannesburg | 209.71.83.120 | 2a09:8280:e620:1:0:22:b79b:0 |-| lax | Los Angeles | 209.71.91.96 | 2a09:8280:e621:1:0:22:b79b:0 |-| lhr | London | 209.71.85.82 | 2a09:8280:e622:1:0:22:b79b:0 |-| nrt | Tokyo | 209.71.88.150 | 2a09:8280:e625:1:0:22:b79b:0 |-| ord | Chicago | 209.71.89.1 | 2a09:8280:e626:1:0:22:b79b:0 |-| sin | Singapore | 209.71.80.112 | 2a09:8280:e632:1:0:22:b79b:0 |-| sjc | San Jose | 209.71.101.37 | 2a09:8280:e633:1:0:22:b79b:0 |-| syd | Sydney | 209.71.97.108 | 2a09:8280:e634:1:0:22:b79b:0 |-| yyz | Toronto | 209.71.99.51 | 2a09:8280:e637:1:0:22:b79b:0 |+| Region code | Prefixed code | Location name | IPv4 address | IPv6 address |+|-------------|---------------|-------------------|-------------------|-------------------------------|+| ams | `fly-ams` | Amsterdam | 209.71.64.1 | 2a09:8280:e601:1:0:22:b79b:0 |+| arn | `fly-arn` | Stockholm | 209.71.98.189 | 2a09:8280:e602:1:0:22:b79b:0 |+| bom | `fly-bom` | Mumbai | 209.71.68.172 | 2a09:8280:e605:1:0:22:b79b:0 |+| cdg | `fly-cdg` | Paris | 209.71.86.183 | 2a09:8280:e607:1:0:22:b79b:0 |+| dfw | `fly-dfw` | Dallas | 209.71.71.89 | 2a09:8280:e609:1:0:22:b79b:0 |+| ewr | `fly-ewr` | Secaucus, New Jersey | 209.71.69.221 | 2a09:8280:e610:1:0:22:b79b:0 |+| fra | `fly-fra` | Frankfurt | 209.71.90.204 | 2a09:8280:e612:1:0:22:b79b:0 |+| gru | `fly-gru` | São Paulo | 209.71.94.28 | 2a09:8280:e615:1:0:22:b79b:0 |+| iad | `fly-iad` | Ashburn, Virginia | 209.71.81.6 | 2a09:8280:e618:1:0:22:b79b:0 |+| jnb | `fly-jnb` | Johannesburg | 209.71.83.120 | 2a09:8280:e620:1:0:22:b79b:0 |+| lax | `fly-lax` | Los Angeles | 209.71.91.96 | 2a09:8280:e621:1:0:22:b79b:0 |+| lhr | `fly-lhr` | London | 209.71.85.82 | 2a09:8280:e622:1:0:22:b79b:0 |+| nrt | `fly-nrt` | Tokyo | 209.71.88.150 | 2a09:8280:e625:1:0:22:b79b:0 |+| ord | `fly-ord` | Chicago | 209.71.89.1 | 2a09:8280:e626:1:0:22:b79b:0 |+| sin | `fly-sin` | Singapore | 209.71.80.112 | 2a09:8280:e632:1:0:22:b79b:0 |+| sjc | `fly-sjc` | San Jose | 209.71.101.37 | 2a09:8280:e633:1:0:22:b79b:0 |+| syd | `fly-syd` | Sydney | 209.71.97.108 | 2a09:8280:e634:1:0:22:b79b:0 |+| yyz | `fly-yyz` | Toronto | 209.71.99.51 | 2a09:8280:e637:1:0:22:b79b:0 |## Railway regions and monitoring IPsBelow is the complete list of Railway regions used for monitoring, along with their associated IPv4 addresses.-| Region code | Location name | IPv4 address |-|--------------------------------|------------------|-------------------|-| railway_europe-west4-drams3a | Europe West | 208.77.244.15 |-| railway_asia-southeast1-eqsg3a | Asia Southeast | 208.77.246.15 |-| railway_us-east4-eqdc4a | US East | 162.220.234.15 |-| railway_us-west2 | US West | 162.220.232.99 |+| Region code | Prefixed code | Location name | IPv4 address |+|--------------------------------|-----------------------------|------------------|-------------------|+| railway_europe-west4-drams3a | `railway-europe-west4` | Europe West | 208.77.244.15 |+| railway_asia-southeast1-eqsg3a | `railway-asia-southeast1` | Asia Southeast | 208.77.246.15 |+| railway_us-east4-eqdc4a | `railway-us-east4` | US East | 162.220.234.15 |+| railway_us-west2 | `railway-us-west2` | US West | 162.220.232.99 |## Koyeb regionsKoyeb does not provide static IP addresses for their regions, so IPs are not available for allowlisting. For details, see Koyeb's [documentation](https://www.koyeb.com/docs/faqs/general#i-want-to-restrict-access-to-a-database-or-other-application-by-ip-address-what-ip-addresses-does-koyeb-use).-| Region code | Location name |-|--------------|-------------------------|-| koyeb_fra | Frankfurt, Germany |-| koyeb_par | Paris, France |-| koyeb_sfo | San Francisco, USA |-| koyeb_sin | Singapore |-| koyeb_tyo | Tokyo, Japan |-| koyeb_was | Washington, USA |+| Region code | Prefixed code | Location name |+|--------------|---------------|-------------------------|+| koyeb_fra | `koyeb-fra` | Frankfurt, Germany |+| koyeb_par | `koyeb-par` | Paris, France |+| koyeb_sfo | `koyeb-sfo` | San Francisco, USA |+| koyeb_sin | `koyeb-sin` | Singapore |+| koyeb_tyo | `koyeb-tyo` | Tokyo, Japan |+| koyeb_was | `koyeb-was` | Washington, USA |---diff --git a/apps/web/src/content/pages/docs/reference/overview.mdx b/apps/web/src/content/pages/docs/reference/overview.mdxindex a34139786..7bf037b2b 100644--- a/apps/web/src/content/pages/docs/reference/overview.mdx+++ b/apps/web/src/content/pages/docs/reference/overview.mdx@@ -28,7 +28,7 @@ Public surfaces for communicating service health.## Alerting-- **[Notification channels](/docs/reference/notification)** — Slack, Discord, Email, SMS, WhatsApp, Telegram, PagerDuty, OpsGenie, Google Chat, Grafana OnCall, Ntfy, and generic webhooks.+- **[Notification channels](/docs/reference/notification)** — Slack, Discord, Microsoft Teams, Email, SMS, WhatsApp, Telegram, PagerDuty, OpsGenie, Google Chat, Grafana OnCall, Ntfy, and generic webhooks.- **[Incident](/docs/reference/incident)** — auto-generated incident objects, trigger thresholds, and lifecycle states.## Probing infrastructurediff --git a/apps/web/src/content/pages/docs/reference/page-components.mdx b/apps/web/src/content/pages/docs/reference/page-components.mdxindex d45ba21c0..571a992f7 100644--- a/apps/web/src/content/pages/docs/reference/page-components.mdx+++ b/apps/web/src/content/pages/docs/reference/page-components.mdx@@ -49,7 +49,7 @@ When your monitor detects a failure (connection timeout, HTTP error, assertion fThe component reflects the current operational state of your monitor. If the monitor is actively checking and healthy, your visitors see a **success** status. If checks fail, they immediately see the issue.**Historical data visualization:**-Monitor components display historical uptime data through status trackers. Depending on your [tracker configuration](/docs/guides/how-to-configure-status-page#1-tracker-configuration), you can show:+Monitor components display historical uptime data through status trackers. Depending on your [tracker configuration](/docs/guides/how-to-configure-status-page#1-components-configuration), you can show:- **Absolute bar with duration card**: Shows the time spent in each status (success, error, degraded, maintenance).- **Absolute bar with request card**: Shows the number of successful vs. failed requests.- **Manual bar**: Shows only the most significant status of each day.diff --git a/apps/web/src/content/pages/docs/reference/private-location.mdx b/apps/web/src/content/pages/docs/reference/private-location.mdxindex 44219f33e..6249d362c 100644--- a/apps/web/src/content/pages/docs/reference/private-location.mdx+++ b/apps/web/src/content/pages/docs/reference/private-location.mdx@@ -32,9 +32,23 @@ Detailed steps for setting up a private location involve:3. **Authentication** — configuring the probe with necessary API keys or tokens to securely authenticate with your openstatus workspace.4. **Network access** — ensuring the deployed probe has network access to the internal services it needs to monitor, as well as outbound access to the openstatus platform.-## Current API surface+## Availability-Private locations can currently be created, listed, updated, and deleted from the authenticated dashboard API. The supported private location fields are:+Private locations require the **Pro** or **Scale** plan.++## API surface++Private locations can be created, listed, updated, and deleted from:++- the **dashboard** (Settings → Private Locations);+- the **ConnectRPC API** — `PrivateLocationService` exposes `CreatePrivateLocation`, `GetPrivateLocation`, `ListPrivateLocations`, `UpdatePrivateLocation`, and `DeletePrivateLocation` (see the [API reference](https://api.openstatus.dev/openapi));+- the **[Terraform provider](/docs/reference/terraform#openstatus_private_location)** — the `openstatus_private_location` resource and the `openstatus_private_location` / `openstatus_private_locations` data sources;+- the **[CLI](/docs/reference/cli-reference#private-locations-command-aliases-pl)** — `openstatus private-locations list | info | create`;+- the **[Node.js SDK](/docs/sdk/nodejs/private-location-service)**.++The **[MCP server](/docs/reference/mcp-server)** exposes read access only, through `list_private_locations`.++The supported private location fields are:- `name` — the display name shown in the dashboard.- `token` — the probe authentication token. Generated by the server on creation. Returned by create, get, and update endpoints; list responses omit it for security.diff --git a/apps/web/src/content/pages/docs/reference/status-page.mdx b/apps/web/src/content/pages/docs/reference/status-page.mdxindex 39858c8ed..5d2440380 100644--- a/apps/web/src/content/pages/docs/reference/status-page.mdx+++ b/apps/web/src/content/pages/docs/reference/status-page.mdx@@ -13,6 +13,7 @@ A status page is a dedicated web interface that publicly displays the operationa- Customisable branding and domain.- Multiple access control options.- Multi-language support with a locale switcher.+- Configurable status trackers, history window, and uptime calculation.## Configuration@@ -86,6 +87,15 @@ Allows you to upload a custom favicon that will appear in browser tabs and bookmSelects one of the community themes for your status page. Browse and preview them in the [Theme Explorer](https://themes.openstatus.dev), or [contribute your own](/docs/guides/how-to-create-status-page-theme).+### Appearance mode++**Type:** Enum (optional, defaults to `system`)++Whether the page follows the visitor's OS preference or is pinned to one mode.++- `system` — follow the visitor's `prefers-color-scheme`.+- `light` / `dark` — force that mode for every visitor and hide the toggle.+### Custom theme**Type:** Per-mode CSS variable overrides (included on Pro and Scale, available as a paid add-on on Starter)@@ -149,6 +159,40 @@ Values accept any valid CSS value (colors in `oklch`, `hsl`, hex, lengths, etc.)`--rainbow-1`, `--rainbow-2`, `--rainbow-3`, `--rainbow-4`, `--rainbow-5`, `--rainbow-6`, `--rainbow-7`, `--rainbow-8`, `--rainbow-9`, `--rainbow-10`, `--rainbow-11`, `--rainbow-12`, `--rainbow-13`, `--rainbow-14`, `--rainbow-15`, `--rainbow-16`, `--rainbow-17`+### Components and uptime display++**Type:** Object (optional)++Controls how each component's status tracker renders and how uptime is computed. Configured on+the **Components** page in the dashboard; see+[Configure your status page](/docs/guides/how-to-configure-status-page#1-components-configuration).++| Field | Values | Default | Description |+|---|---|---|---|+| `type` | `absolute`, `manual` | `absolute` | Bar type. `absolute` draws each day proportionally; `manual` shows only the most significant status of the day. |+| `value` | `duration`, `requests`, `manual` | `requests` | What the hover card and uptime percentage are derived from. Only meaningful when `type` is `absolute`. |+| `uptime` | boolean | `true` | Whether the uptime percentage is shown at all. |+| `days` | `30`, `45` | `45` | Number of days of history rendered on the bars. |++See [Uptime calculation and shared values](/docs/concept/uptime-calculation-and-values) for what+each mode actually measures.++### Links++**Type:** String (optional)++Two optional URLs shown in the status page header.++- **Homepage URL** — your logo links here instead of to the status page root.+- **Contact URL** — renders a message icon linking to a contact page. A `mailto:` URL works too, e.g. `mailto:[email protected]`.++### Search engine indexing++**Type:** Boolean (optional, defaults to `true`)++When enabled the page is indexable. Disable it to serve a `noindex` directive and keep the page+out of search results — useful for an internal or pre-launch page. Available on paid plans.+### JSON feed**Type:** Read-only endpointdiff --git a/apps/web/src/content/pages/docs/reference/tcp-monitor.mdx b/apps/web/src/content/pages/docs/reference/tcp-monitor.mdxindex 313096033..9c2cb32e9 100644--- a/apps/web/src/content/pages/docs/reference/tcp-monitor.mdx+++ b/apps/web/src/content/pages/docs/reference/tcp-monitor.mdx@@ -48,6 +48,12 @@ The interval at which the TCP monitor will attempt to connect to the target URI.- `30 minutes`- `1 hour`+<Aside>+Which frequencies you can select depends on your plan: **Hobby** offers `10m`, `30m` and `1h`;+**Starter** adds `1m` and `5m`; `30s` is **Pro** and **Scale** only. See+[pricing](https://www.openstatus.dev/pricing) for the full breakdown.+</Aside>+### Response time thresholds#### Timeoutdiff --git a/apps/web/src/content/pages/docs/reference/terraform.mdx b/apps/web/src/content/pages/docs/reference/terraform.mdxindex 9970c2808..6480076ef 100644--- a/apps/web/src/content/pages/docs/reference/terraform.mdx+++ b/apps/web/src/content/pages/docs/reference/terraform.mdx@@ -8,7 +8,7 @@ The openstatus Terraform provider lets you manage your monitoring infrastructure**Key capabilities:**-- Manage HTTP, TCP, and DNS monitors with assertions.+- Manage HTTP, TCP, DNS, and ICMP monitors with assertions.- Configure notification channels (Slack, PagerDuty, email, webhooks, and more).- Create and manage status pages with component groups.- Provision private locations and assign monitors to them.@@ -46,6 +46,11 @@ provider "openstatus" {## Resources+<Aside>+gRPC monitors are not yet exposed as a Terraform resource. Manage them from the dashboard, the+[ConnectRPC API](https://api.openstatus.dev/openapi), or the CLI until the provider catches up.+</Aside>+### `openstatus_http_monitor`Manages an HTTP monitor with support for custom headers, request bodies, and response assertions.@@ -57,7 +62,7 @@ Manages an HTTP monitor with support for custom headers, request bodies, and res| `name` | `string` | Yes | | Monitor name (max 256 chars). || `url` | `string` | Yes | | URL to monitor (max 2048 chars). || `periodicity` | `string` | Yes | | Check frequency: `30s`, `1m`, `5m`, `10m`, `30m`, `1h`. |-| `method` | `string` | No | `"GET"` | HTTP method: `GET`, `POST`, `HEAD`, `PUT`, `PATCH`, `DELETE`, `OPTIONS`. |+| `method` | `string` | No | `"GET"` | HTTP method: `GET`, `POST`, `HEAD`, `PUT`, `PATCH`, `DELETE`, `OPTIONS`, `TRACE`, `CONNECT`. || `body` | `string` | No | `""` | Request body for `POST`, `PUT`, `PATCH` methods. || `timeout` | `number` | No | `45000` | Timeout in milliseconds (0–120000). || `degraded_at` | `number` | No | computed | Response time threshold (ms) after which the monitor is considered degraded. |@@ -87,7 +92,11 @@ Manages an HTTP monitor with support for custom headers, request bodies, and res- `target` (string, required) — Expected value.- `comparator` (string, required) — Same comparators as `body_assertions`.-**Read-only attributes:** `id` (string), `status` (string: `active`, `degraded`, `error`, `unknown`).+- **`open_telemetry`** — Export this monitor's metrics to an OTLP endpoint (HTTP only).+ - `endpoint` (string, optional) — OTLP metrics endpoint URL.+ - `headers` (block list, optional) — Headers sent with each export; each has a required `key` and `value`.++**Read-only attributes:** `id` (string), `status` (string: `active`, `degraded`, `error`, `unknown`), `private_location_ids` (set of string — managed from `openstatus_private_location.monitor_ids`).**Example — Basic health check:**@@ -197,7 +206,13 @@ Manages a TCP connection monitor to verify that a port is open and reachable.| `description` | `string` | No | | Monitor description (max 1024 chars). || `regions` | `set(string)` | No | | Regions to monitor from. See [Available Regions](#available-regions). |-**Read-only attributes:** `id` (string), `status` (string).+**Blocks:**++- **`open_telemetry`** — Export this monitor's metrics to an OTLP endpoint (HTTP only).+ - `endpoint` (string, optional) — OTLP metrics endpoint URL.+ - `headers` (block list, optional) — Headers sent with each export; each has a required `key` and `value`.++**Read-only attributes:** `id` (string), `status` (string), `private_location_ids` (set of string — managed from `openstatus_private_location.monitor_ids`).**Example — Database port check:**@@ -259,7 +274,11 @@ Manages a DNS monitor with support for record type assertions.- `target` (string, required) — Expected value.- `comparator` (string, required) — One of: `eq`, `neq`, `contains`, `not_contains`.-**Read-only attributes:** `id` (string), `status` (string).+- **`open_telemetry`** — Export this monitor's metrics to an OTLP endpoint (HTTP only).+ - `endpoint` (string, optional) — OTLP metrics endpoint URL.+ - `headers` (block list, optional) — Headers sent with each export; each has a required `key` and `value`.++**Read-only attributes:** `id` (string), `status` (string), `private_location_ids` (set of string — managed from `openstatus_private_location.monitor_ids`).**Example — A record validation:**@@ -306,6 +325,61 @@ terraform import openstatus_dns_monitor.main_domain <monitor_id>---+### `openstatus_icmp_monitor`++Manages an ICMP (ping) monitor that checks host reachability and round-trip latency.++**Arguments:**++| Argument | Type | Required | Default | Description |+| :------------ | :------------ | :------- | :------- | :----------------------------------------------------------------- |+| `name` | `string` | Yes | | Monitor name (max 256 chars). |+| `uri` | `string` | Yes | | Target host or IP address to ping, without a port. |+| `periodicity` | `string` | Yes | | Check frequency: `30s`, `1m`, `5m`, `10m`, `30m`, `1h`. |+| `timeout` | `number` | No | `45000` | Budget in milliseconds for the whole check (0–120000). |+| `degraded_at` | `number` | No | computed | Average-latency threshold in milliseconds. |+| `retry` | `number` | No | `3` | Number of retries on a fully failed check (0–10). |+| `active` | `bool` | No | `false` | Whether the monitor is active. |+| `public` | `bool` | No | `false` | Whether the monitor is publicly visible. |+| `description` | `string` | No | | Monitor description (max 1024 chars). |+| `regions` | `set(string)` | No | | Regions to monitor from. See [Available Regions](#available-regions). |++**Blocks:**++- **`open_telemetry`** — Export this monitor's metrics to an OTLP endpoint (HTTP only).+ - `endpoint` (string, optional) — OTLP metrics endpoint URL.+ - `headers` (block list, optional) — Headers sent with each export; each has a required `key` and `value`.++**Read-only attributes:** `id` (string), `status` (string), `private_location_ids` (set of string — managed from `openstatus_private_location.monitor_ids`).++See the [ICMP monitor reference](/docs/reference/icmp-monitor) for how a check is run (three echo requests, average latency, packet loss).++**Example — Gateway reachability:**++```terraform+resource "openstatus_icmp_monitor" "gateway" {+ name = "Gateway Ping"+ description = "Round-trip latency to the upstream gateway."+ uri = "8.8.8.8"+ periodicity = "1m"+ timeout = 10000+ active = true+ regions = ["fly-iad", "fly-fra"]++ open_telemetry {+ endpoint = "https://otel.example.com/v1/metrics"+ }+}+```++**Import:**++```bash+terraform import openstatus_icmp_monitor.gateway <monitor_id>+```++---+### `openstatus_notification`Manages a notification channel. Supports 13 provider types: Discord, Email, Slack, PagerDuty, OpsGenie, Webhook, Telegram, SMS, WhatsApp, Google Chat, Grafana OnCall, Microsoft Teams, and ntfy.@@ -633,7 +707,7 @@ output "agent_token" {### `openstatus_monitor`-Look up a single monitor by ID. Works for HTTP, TCP, and DNS monitors.+Look up a single monitor by ID. Works for HTTP, TCP, DNS, and ICMP monitors.```terraformdata "openstatus_monitor" "existing" {@@ -649,7 +723,7 @@ output "monitor_type" {}```-**Computed attributes:** `type` (`http`, `tcp`, `dns`), `name`, `url` (HTTP only), `uri` (TCP/DNS only), `periodicity`, `method` (HTTP only), `active`, `public`, `description`, `timeout`, `status`.+**Computed attributes:** `type` (`http`, `tcp`, `dns`, `icmp`), `name`, `url` (HTTP only), `uri` (TCP/DNS/ICMP only), `periodicity`, `method` (HTTP only), `active`, `public`, `description`, `timeout`, `status`, `private_location_ids`.---diff --git a/apps/web/src/content/pages/docs/sdk/nodejs/authentication.mdx b/apps/web/src/content/pages/docs/sdk/nodejs/authentication.mdxindex 9390cf66c..0050cf376 100644--- a/apps/web/src/content/pages/docs/sdk/nodejs/authentication.mdx+++ b/apps/web/src/content/pages/docs/sdk/nodejs/authentication.mdx@@ -40,7 +40,7 @@ await openstatus.monitor.v1.MonitorService.listMonitors({}, { headers });| `OPENSTATUS_API_KEY` | Your openstatus API key | Required for authenticated calls || `OPENSTATUS_API_URL` | Custom API endpoint | `https://api.openstatus.dev/rpc` |-Get your API key from the [openstatus dashboard](https://www.openstatus.dev/app).+Get your API key from the [openstatus dashboard](https://app.openstatus.dev) under **Settings → General → API Keys**.## Scopesdiff --git a/apps/web/src/content/pages/docs/sdk/nodejs/getting-started.mdx b/apps/web/src/content/pages/docs/sdk/nodejs/getting-started.mdxindex bf4601867..c15f07617 100644--- a/apps/web/src/content/pages/docs/sdk/nodejs/getting-started.mdx+++ b/apps/web/src/content/pages/docs/sdk/nodejs/getting-started.mdx@@ -9,7 +9,7 @@ description: "Install and start using the openstatus Node.js SDK"Before using the SDK, you need an API key:-1. Log in to the [openstatus dashboard](https://www.openstatus.dev/app/login)+1. Log in to the [openstatus dashboard](https://app.openstatus.dev/login)2. Go to **Settings** > **General** and find the **API Keys** card3. Click **Create** and copy the keydiff --git a/apps/web/src/content/pages/docs/sdk/nodejs/monitor-service.mdx b/apps/web/src/content/pages/docs/sdk/nodejs/monitor-service.mdxindex aca91252e..08be19694 100644--- a/apps/web/src/content/pages/docs/sdk/nodejs/monitor-service.mdx+++ b/apps/web/src/content/pages/docs/sdk/nodejs/monitor-service.mdx@@ -235,6 +235,12 @@ const { monitor } = await client.monitor.v1.MonitorService.updateDNSMonitor({List all monitors with offset-based pagination. Returns monitors grouped by type.+<Aside>+The response also carries `icmpMonitors` and `grpcMonitors`, and `totalSize` counts every type.+The SDK does not yet ship create/update methods for those two — call the+[ConnectRPC API](https://api.openstatus.dev/openapi) directly if you need them.+</Aside>+```typescriptconst { httpMonitors, tcpMonitors, dnsMonitors, totalSize } =await client.monitor.v1.MonitorService.listMonitors({@@ -257,7 +263,7 @@ Pagination parameters:## Get Monitor-Get a single monitor by ID. The response uses a `MonitorConfig` oneof type that contains one of HTTP, TCP, or DNS configuration.+Get a single monitor by ID. The response uses a `MonitorConfig` oneof type that contains one of the HTTP, TCP, DNS, ICMP, or gRPC configurations.```typescriptconst { monitor } = await client.monitor.v1.MonitorService.getMonitor({diff --git a/apps/web/src/content/pages/docs/sdk/nodejs/overview.mdx b/apps/web/src/content/pages/docs/sdk/nodejs/overview.mdxindex 766e89fbe..86cffc1cd 100644--- a/apps/web/src/content/pages/docs/sdk/nodejs/overview.mdx+++ b/apps/web/src/content/pages/docs/sdk/nodejs/overview.mdx@@ -11,10 +11,10 @@ The SDK is open source and developed in its own repository, [openstatusHQ/sdk-no## Features-- **HTTP, TCP, and DNS monitoring** — monitor websites, APIs, database connections, and DNS records from 28 locations worldwide.+- **HTTP, TCP, and DNS monitoring** — monitor websites, APIs, database connections, and DNS records from 28 locations worldwide. (ICMP and gRPC monitors exist in the API but are not yet exposed by this SDK.)- **Status pages** — create and manage public status pages with monitor-based or static components, grouping, and subscribers.- **Status reports and maintenance** — manage incident reports with update timelines and schedule planned maintenance windows.-- **Notifications** — configure Slack, Discord, Email, PagerDuty, Opsgenie, Telegram, and webhook channels.+- **Notifications** — configure all 13 channels: Slack, Discord, Microsoft Teams, Email, SMS, WhatsApp, Telegram, PagerDuty, Opsgenie, Google Chat, Grafana OnCall, ntfy, and generic webhooks.- **Type-safe** — typed request/response messages generated from the openstatus protobuf schemas.- **Cross-runtime** — works on Node.js, Deno, and Bun, in both ESM and CJS.@@ -38,6 +38,7 @@ The client exposes one service per domain. Each has its own reference page:| Status Page | [Status Page Service](/docs/sdk/nodejs/status-page-service) | Manage status pages, components, component groups, and subscribers. || Maintenance | [Maintenance Service](/docs/sdk/nodejs/maintenance-service) | Schedule and manage planned maintenance windows. || Notification | [Notification Service](/docs/sdk/nodejs/notification-service) | Configure notification channels and check usage limits. |+| Private Location | [Private Location Service](/docs/sdk/nodejs/private-location-service) | Manage self-hosted probes and their agent tokens. |For authentication, errors, and TypeScript ergonomics, see [Authentication](/docs/sdk/nodejs/authentication), [Error Handling](/docs/sdk/nodejs/error-handling), [TypeScript Tips](/docs/sdk/nodejs/typescript-tips), and the full [Reference](/docs/sdk/nodejs/reference).diff --git a/apps/web/src/content/pages/docs/sdk/nodejs/private-location-service.mdx b/apps/web/src/content/pages/docs/sdk/nodejs/private-location-service.mdxnew file mode 100644index 000000000..f108ead91--- /dev/null+++ b/apps/web/src/content/pages/docs/sdk/nodejs/private-location-service.mdx@@ -0,0 +1,105 @@+---+category: SDK+title: Private Location Service+description: "Manage private locations — self-hosted probes that run monitors from your own network — with the openstatus Node.js SDK"+---++Manage [private locations](/docs/concept/private-locations): self-hosted probes that run your+monitors from inside your own network. The Private Location Service provides 5 RPC methods.++<Aside>Private locations are available on the **Pro** and **Scale** plans.</Aside>++## Create Private Location++The agent token is generated by the server and returned in the response — you cannot supply one.+Use it to configure the probe container so it can pull its monitors and report results.++```typescript+const { privateLocation } = await client.privateLocation.v1+ .PrivateLocationService.createPrivateLocation({+ name: "eu-datacenter",+ monitorIds: ["123456"],+ metadata: { city: "Frankfurt", provider: "Hetzner" },+ });++console.log(`Token: ${privateLocation?.token}`);+```++| Field | Type | Required | Description |+|---|---|---|---|+| `name` | `string` | Yes | Display name, 1–256 characters. |+| `monitorIds` | `string[]` | No | Monitors this location should run. |+| `metadata` | `Record<string, string>` | No | Up to 20 labels; keys 1–64 chars, values up to 256 chars. |++<Aside type="caution">+The token authenticates the probe as your workspace. Store it the way you store other secrets —+it is returned by create, get, and update, but **never** by list.+</Aside>++## List Private Locations++Returns summaries. Each carries `monitorCount` rather than the full `monitorIds`, and the agent+token is deliberately omitted — use `getPrivateLocation` when you need it.++```typescript+const { privateLocations, totalSize } = await client.privateLocation.v1+ .PrivateLocationService.listPrivateLocations({+ limit: 50,+ offset: 0,+ });++console.log(`Found ${totalSize} private locations`);+```++| Parameter | Type | Description |+|---|---|---|+| `limit` | number (optional) | Max results to return (1–100, default 50). |+| `offset` | number (optional) | Number of results to skip (default 0). |++## Get Private Location++```typescript+const { privateLocation } = await client.privateLocation.v1+ .PrivateLocationService.getPrivateLocation({ id: "12" });++console.log(`Status: ${privateLocation?.status}`);+console.log(`Last seen: ${privateLocation?.lastSeenAt || "never"}`);+```++`status` is read-only and derived from the agent heartbeat —+`PRIVATE_LOCATION_STATUS_ACTIVE` when the probe is reporting normally,+`PRIVATE_LOCATION_STATUS_ERROR` when it has stopped. `lastSeenAt` is an RFC 3339 string, empty+if the probe has never reported.++## Update Private Location++`monitorIds` and `metadata` are only applied when you explicitly opt in with+`updateMonitorIds` / `updateMetadata`. Without those flags the existing associations and labels+are preserved, so a partial update can't silently clear them.++```typescript+// Rename only — monitors and metadata untouched.+await client.privateLocation.v1.PrivateLocationService.updatePrivateLocation({+ id: "12",+ name: "eu-datacenter-01",+});++// Replace the monitor list (an empty array clears every association).+await client.privateLocation.v1.PrivateLocationService.updatePrivateLocation({+ id: "12",+ monitorIds: ["123456", "789012"],+ updateMonitorIds: true,+});+```++## Delete Private Location++```typescript+const { success } = await client.privateLocation.v1+ .PrivateLocationService.deletePrivateLocation({ id: "12" });+```++## Related resources++- **[Private location reference](/docs/reference/private-location)** — fields and the full API surface.+- **[Create a private location](/docs/guides/how-to-create-private-location)** — deploying the probe container.diff --git a/apps/web/src/content/pages/docs/sdk/php/overview.mdx b/apps/web/src/content/pages/docs/sdk/php/overview.mdxindex e3a276e58..4c1f99070 100644--- a/apps/web/src/content/pages/docs/sdk/php/overview.mdx+++ b/apps/web/src/content/pages/docs/sdk/php/overview.mdx@@ -11,10 +11,10 @@ The SDK is open source and developed in its own repository, [openstatusHQ/sdk-ph## Features-- **HTTP, TCP, and DNS monitoring** — monitor websites, APIs, database connections, and DNS records from 28 locations worldwide.+- **HTTP, TCP, and DNS monitoring** — monitor websites, APIs, database connections, and DNS records from 28 locations worldwide. (ICMP and gRPC monitors exist in the API but are not yet exposed by this SDK.)- **Status pages** — create and manage public status pages with monitor-based or static components, grouping, and subscribers.- **Status reports and maintenance** — manage incident reports with update timelines and schedule planned maintenance windows.-- **Notifications** — configure Slack, Discord, Email, PagerDuty, Opsgenie, Telegram, and webhook channels.+- **Notifications** — configure all 13 channels: Slack, Discord, Microsoft Teams, Email, SMS, WhatsApp, Telegram, PagerDuty, Opsgenie, Google Chat, Grafana OnCall, ntfy, and generic webhooks.- **Type-safe** — strongly-typed messages generated from the openstatus protobuf schemas; no proto toolchain needed.- **PSR-18 transport** — bring your own HTTP client, or use the bundled Guzzle implementation.@@ -22,7 +22,7 @@ The SDK is open source and developed in its own repository, [openstatusHQ/sdk-phBefore using the SDK, you need an API key:-1. Log in to the [openstatus dashboard](https://www.openstatus.dev/app/login)+1. Log in to the [openstatus dashboard](https://app.openstatus.dev/login)2. Go to **Settings** > **General** and find the **API Keys** card3. Click **Create** and copy the keydiff --git a/apps/web/src/content/pages/docs/sdk/python/overview.mdx b/apps/web/src/content/pages/docs/sdk/python/overview.mdxindex 272bb69b1..a13326c6b 100644--- a/apps/web/src/content/pages/docs/sdk/python/overview.mdx+++ b/apps/web/src/content/pages/docs/sdk/python/overview.mdx@@ -11,10 +11,10 @@ The SDK is open source and developed in its own repository, [openstatusHQ/sdk-py## Features-- **HTTP, TCP, and DNS monitoring** — monitor websites, APIs, database connections, and DNS records from 28 locations worldwide.+- **HTTP, TCP, and DNS monitoring** — monitor websites, APIs, database connections, and DNS records from 28 locations worldwide. (ICMP and gRPC monitors exist in the API but are not yet exposed by this SDK.)- **Status pages** — create and manage public status pages with monitor-based or static components, grouping, and subscribers.- **Status reports and maintenance** — manage incident reports with update timelines and schedule planned maintenance windows.-- **Notifications** — configure Slack, Discord, Email, PagerDuty, Opsgenie, Telegram, and webhook channels.+- **Notifications** — configure all 13 channels: Slack, Discord, Microsoft Teams, Email, SMS, WhatsApp, Telegram, PagerDuty, Opsgenie, Google Chat, Grafana OnCall, ntfy, and generic webhooks.- **Sync and async** — `OpenstatusClient` and `AsyncOpenstatusClient` share the same API surface.- **Type-safe** — typed request/response messages generated from the openstatus protobuf schemas.@@ -22,7 +22,7 @@ The SDK is open source and developed in its own repository, [openstatusHQ/sdk-pyBefore using the SDK, you need an API key:-1. Log in to the [openstatus dashboard](https://www.openstatus.dev/app/login)+1. Log in to the [openstatus dashboard](https://app.openstatus.dev/login)2. Go to **Settings** > **General** and find the **API Keys** card3. Click **Create** and copy the keydiff --git a/apps/web/src/content/pages/docs/tutorial/create-your-first-monitor.mdx b/apps/web/src/content/pages/docs/tutorial/create-your-first-monitor.mdxindex 829779175..c4ce83d37 100644--- a/apps/web/src/content/pages/docs/tutorial/create-your-first-monitor.mdx+++ b/apps/web/src/content/pages/docs/tutorial/create-your-first-monitor.mdx@@ -62,7 +62,7 @@ Your monitor doesn't just have to be a simple `GET` request. You can customise t#### HTTP method-Choose the appropriate HTTP method for your check. While `GET` is the default and most common for simple health checks, you can also select `POST`, `HEAD`, `OPTIONS`, `PUT`, `PATCH`, `DELETE`, or `TRACE`.+Choose the appropriate HTTP method for your check. While `GET` is the default and most common for simple health checks, you can also select `POST`, `HEAD`, `OPTIONS`, `PUT`, `PATCH`, `DELETE`, `TRACE`, or `CONNECT`.- `GET`: Retrieve data from an endpoint. The most common choice for health checks.- `POST`: Send data to an endpoint, for example, to test a form submission or API creation endpoint.@@ -72,6 +72,7 @@ Choose the appropriate HTTP method for your check. While `GET` is the default an- `PATCH`: Partially update an existing resource.- `DELETE`: Delete a resource.- `TRACE`: Echo the request back to the client.+- `CONNECT`: Establish a tunnel to the server.#### Request body@@ -89,7 +90,7 @@ You can add any number of custom HTTP headers to your request. This is particula<Aside title="We've got your User-Agent covered!">-openstatus automatically includes the `"User-Agent": "openstatus/1.0"` header in every request. This makes it easy to identify and filter out our monitoring traffic from your server logs or analytics.+openstatus automatically includes the `"User-Agent": "OpenStatus/1.0"` header in every request. This makes it easy to identify and filter out our monitoring traffic from your server logs or analytics.</Aside>diff --git a/apps/web/src/content/pages/docs/tutorial/getting-started.mdx b/apps/web/src/content/pages/docs/tutorial/getting-started.mdxindex e39a2dc2d..3dd5d456b 100644--- a/apps/web/src/content/pages/docs/tutorial/getting-started.mdx+++ b/apps/web/src/content/pages/docs/tutorial/getting-started.mdx@@ -1,7 +1,7 @@---category: Tutorialstitle: Tutorials Overview-description: "Step-by-step tutorials to create monitors, status pages, and private locations with openstatus."+description: "Step-by-step tutorials to create monitors, wire up notifications, publish status pages and reports, and drive it all from the openstatus CLI."sidebar:label: Tutorials Overvieworder: 1diff --git a/apps/web/src/content/pages/docs/tutorial/your-first-notification.mdx b/apps/web/src/content/pages/docs/tutorial/your-first-notification.mdxindex b583fc395..57f372285 100644--- a/apps/web/src/content/pages/docs/tutorial/your-first-notification.mdx+++ b/apps/web/src/content/pages/docs/tutorial/your-first-notification.mdx@@ -47,12 +47,12 @@ Create (or temporarily reconfigure) a monitor with these settings:- **Frequency:** `1 minute` — so you don't have to wait long.- **Notification channel:** the one you just created.-Wait a couple of minutes. Once enough consecutive checks have failed to cross the trigger threshold (50% of recent checks — see [Incident Reference](/docs/reference/incident)), openstatus opens an incident and fires the notification.+Wait a couple of minutes. Once at least half of the monitor's configured regions report an `error` (a single-region monitor triggers on its one region — see [Incident Reference](/docs/reference/incident)), openstatus opens an incident and fires the notification.Check the inbox you used in step 1. You should see an alert with the monitor name, the URL, the status code, and a link back to the dashboard. Delete the test monitor — or point it back at a real URL — once you've confirmed the email arrived.<Aside type="tip">-The same trigger threshold that fires the alert also gates *recovery*. If you point the test monitor back at a healthy URL, you'll get a second email confirming the monitor is up again, once enough checks have passed.+The same region agreement that fires the alert also gates *recovery*. If you point the test monitor back at a healthy URL, you'll get a second email confirming the monitor is up again, once the regions report success again.</Aside>## What you've accomplisheddiff --git a/apps/web/src/content/pages/docs/tutorial/your-first-status-report.mdx b/apps/web/src/content/pages/docs/tutorial/your-first-status-report.mdxindex c0a5387bc..c611981fe 100644--- a/apps/web/src/content/pages/docs/tutorial/your-first-status-report.mdx+++ b/apps/web/src/content/pages/docs/tutorial/your-first-status-report.mdx@@ -15,7 +15,7 @@ In this tutorial, you'll publish a status report end-to-end: open it, post two uStatus reports follow a four-state lifecycle: **investigating → identified → monitoring → resolved**. You'll walk through all four states in one short exercise.<Aside>-The dashboard isn't the only way to manage status reports. The [openstatus CLI](/docs/reference/cli-reference#status-report-command) drives the same workflow from a terminal — handy during a real outage when you don't want to context-switch. This tutorial sticks to the dashboard because the goal is to learn the lifecycle, not the tooling.+The dashboard isn't the only way to manage status reports. The [openstatus CLI](/docs/reference/cli-reference#status-report-command-aliases-sr) drives the same workflow from a terminal — handy during a real outage when you don't want to context-switch. This tutorial sticks to the dashboard because the goal is to learn the lifecycle, not the tooling.</Aside>## 1. Open the report@@ -82,4 +82,4 @@ Save. The report is now archived. On the status page it moves out of the active- **[Status report reference](/docs/reference/status-report)** — every field on a status report and what the four states mean precisely.- **[Incident reference](/docs/reference/incident)** — how openstatus auto-detects incidents from monitor failures (the trigger side of the same workflow).- **[Building trust with status pages](/docs/concept/best-practices-status-page)** — the *why* behind the four-state cadence.-- **[CLI reference — status-report](/docs/reference/cli-reference#status-report-command)** — the same workflow from a terminal.+- **[CLI reference — status-report](/docs/reference/cli-reference#status-report-command-aliases-sr)** — the same workflow from a terminal.