Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
🏦 trying new pricing name (#1230)
Thibault Le Ouay68dd22bbd5e1
diff --git a/apps/web/src/app/(content)/features/status-page/page.tsx b/apps/web/src/app/(content)/features/status-page/page.tsxindex 3045b5e25..60180e513 100644--- a/apps/web/src/app/(content)/features/status-page/page.tsx+++ b/apps/web/src/app/(content)/features/status-page/page.tsx@@ -72,7 +72,7 @@ export default function FeaturePage() {subTitle="Let your users subscribe to your status page, to automatically receive updates about the status of your services."component={<div className="m-auto">- <SubscribeButton plan="pro" slug={""} isDemo />+ <SubscribeButton plan="team" slug={""} isDemo /></div>}col={1}diff --git a/apps/web/src/app/app/[workspaceSlug]/(dashboard)/settings/billing/_components/plan.tsx b/apps/web/src/app/app/[workspaceSlug]/(dashboard)/settings/billing/_components/plan.tsxindex eba0184f5..fc2cd81cf 100644--- a/apps/web/src/app/app/[workspaceSlug]/(dashboard)/settings/billing/_components/plan.tsx+++ b/apps/web/src/app/app/[workspaceSlug]/(dashboard)/settings/billing/_components/plan.tsx@@ -47,7 +47,6 @@ export const SettingsPlan = ({ workspace }: { workspace: Workspace }) => {// REMINDER: redirecting to customer portal as a fallback because the free plan has no pricefree: getUserCustomerPortal,starter: () => getCheckoutSession("starter"),- pro: () => getCheckoutSession("pro"),team: () => getCheckoutSession("team"),}}/>diff --git a/apps/web/src/components/billing/pro-banner.tsx b/apps/web/src/components/billing/pro-banner.tsxindex 5f23398fc..6b02b4d47 100644--- a/apps/web/src/components/billing/pro-banner.tsx+++ b/apps/web/src/components/billing/pro-banner.tsx@@ -46,7 +46,7 @@ export function ProBanner() {<div className="grid gap-2 rounded-md border border-border p-3"><div className="flex items-center justify-between"><p className="inline-flex items-center font-medium text-sm">- OpenStatus Pro <Rocket className="ml-2 h-4 w-4" />+ OpenStatus Subscription <Rocket className="ml-2 h-4 w-4" /></p><Buttonvariant="ghost"diff --git a/apps/web/src/components/billing/pro-feature-alert.tsx b/apps/web/src/components/billing/pro-feature-alert.tsxindex a0c58d190..e3232c067 100644--- a/apps/web/src/components/billing/pro-feature-alert.tsx+++ b/apps/web/src/components/billing/pro-feature-alert.tsx@@ -12,7 +12,7 @@ interface Props {workspacePlan?: WorkspacePlan;}-export function ProFeatureAlert({ feature, workspacePlan = "pro" }: Props) {+export function ProFeatureAlert({ feature, workspacePlan = "team" }: Props) {const params = useParams<{ workspaceSlug: string }>();return (<Alert>diff --git a/apps/web/src/components/marketing/pricing/enterprice-plan.tsx b/apps/web/src/components/marketing/pricing/enterprice-plan.tsxindex dcde4a20f..f7a5004b6 100644--- a/apps/web/src/components/marketing/pricing/enterprice-plan.tsx+++ b/apps/web/src/components/marketing/pricing/enterprice-plan.tsx@@ -1,29 +1,47 @@import { Button } from "@openstatus/ui/src/components/button";+import { CheckIcon } from "lucide-react";++const features = [+ "Custom Integration",+ "Custom Limits",+ "Custom Support",+ "Custom regions",+ "SSO/SAML",+ "BYOC (Bring Your Own Cloud)",+];export function EnterpricePlan() {return (- <div className="flex w-full flex-col gap-3">- <div className="flex-1">- <div className="flex items-end justify-between gap-4">- <div>- <p className="mb-2 font-cal text-2xl">Custom</p>- <p className="text-muted-foreground">- Want more regions? Want to host it on your own server? Want- something else? We can help you with that.- </p>+ <div>+ <p className="mb-2 font-cal text-2xl">Enterprise</p>+ <p className="text-muted-foreground">If you are looking for:</p>+ <div className="my-4 grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4">+ {features.map((feature) => (+ <div key={feature} className="flex items-center">+ <CheckIcon className="mr-1.5 h-4 w-4 shrink-0" />+ <span className="text-foreground text-sm">{feature}</span></div>- </div>+ ))}</div>- <div>- <Button className="rounded-full" asChild>- <a- href="https://cal.com/team/openstatus/30min"- target="_blank"- rel="noreferrer"- >- Talk to us- </a>- </Button>+ <div className="grid grid-cols-1 sm:grid-cols-4 gap-6">+ <div className="sm:col-span-3">+ <p className="text-muted-foreground">+ We can help you with that. Speak with us today to build your own+ custom solution that fits your needs.+ </p>+ </div>+ <div className="sm:col-span-1 w-full">+ <Button className="rounded-full w-full" asChild>+ <a+ href="https://cal.com/team/openstatus/30min"+ target="_blank"+ rel="noreferrer"+ className="text-nowrap"+ >+ Talk to us+ </a>+ </Button>+ </div></div></div>);diff --git a/apps/web/src/components/marketing/pricing/pricing-plan-radio.tsx b/apps/web/src/components/marketing/pricing/pricing-plan-radio.tsxindex ac7501158..be4034589 100644--- a/apps/web/src/components/marketing/pricing/pricing-plan-radio.tsx+++ b/apps/web/src/components/marketing/pricing/pricing-plan-radio.tsx@@ -19,7 +19,7 @@ export function PricingPlanRadio({return (<RadioGroupdefaultValue="team"- className="grid grid-cols-4 gap-4"+ className="grid grid-cols-3 gap-4"onValueChange={onChange}>{workspacePlans.map((key) => (diff --git a/apps/web/src/components/marketing/pricing/pricing-table.tsx b/apps/web/src/components/marketing/pricing/pricing-table.tsxindex c940ceb8d..890746e3a 100644--- a/apps/web/src/components/marketing/pricing/pricing-table.tsx+++ b/apps/web/src/components/marketing/pricing/pricing-table.tsx@@ -45,7 +45,7 @@ export function PricingTable({.filter(([key, _]) => plans.includes(key as keyof typeof allPlans)).map(([key, value]) => ({ key: key as keyof typeof allPlans, ...value }));return (- <Table className="relative">+ <Table className="relative table-fixed"><TableCaption>A list to compare the different features by plan.</TableCaption>@@ -61,7 +61,7 @@ export function PricingTable({key={key}className={cn("h-auto px-3 py-3 align-bottom text-foreground",- key === "team" ? "bg-muted/30" : "bg-background",+ key === "starter" ? "bg-muted/30" : "bg-background",)}><p className="sticky top-0 mb-2 font-cal text-2xl">@@ -79,7 +79,7 @@ export function PricingTable({<ButtonclassName="w-full"size="sm"- variant={key === "team" ? "default" : "outline"}+ variant={key === "starter" ? "default" : "outline"}onClick={() => {if (events?.[key]) {return events[key]?.();@@ -92,7 +92,7 @@ export function PricingTable({>{isLoading ? (<LoadingAnimation- variant={key === "team" ? "default" : "inverse"}+ variant={key === "starter" ? "default" : "inverse"}/>) : isCurrentPlan ? ("Current plan"@@ -178,7 +178,7 @@ export function PricingTable({key={key + value + _i}className={cn("p-3 font-mono",- plan.key === "team" && "bg-muted/30",+ plan.key === "starter" && "bg-muted/30",)}>{renderContent()}diff --git a/apps/web/src/config/pricing-table.tsx b/apps/web/src/config/pricing-table.tsxindex d576d6940..6bbdc7cee 100644--- a/apps/web/src/config/pricing-table.tsx+++ b/apps/web/src/config/pricing-table.tsx@@ -51,7 +51,6 @@ export const pricingTableConfig: Record<},{ value: "max-regions", label: "Number of Regions" },{ value: "data-retention", label: "Data retention" },- { value: "screenshots", label: "Screenshots upon failure" },{ value: "otel", label: "OTel Exporter" },],},@@ -63,7 +62,6 @@ export const pricingTableConfig: Record<label: "Number of on-demand checks",monthly: true,},- { value: "private-locations", label: "Private Locations" },],},"status-pages": {@@ -99,10 +97,6 @@ export const pricingTableConfig: Record<"password-protected-status-page",),},- {- value: "white-label",- label: "White Label",- },],},alerts: {diff --git a/packages/api/src/router/stripe/utils.ts b/packages/api/src/router/stripe/utils.tsindex 8e4dafbd4..1aa4101fc 100644--- a/packages/api/src/router/stripe/utils.ts+++ b/packages/api/src/router/stripe/utils.ts@@ -14,17 +14,6 @@ export const getPriceIdForPlan = (plan: WorkspacePlan) => {return PLANS.find((p) => p.plan === plan)?.price.monthly.priceIds[env];};export const PLANS = [- {- plan: "pro",- price: {- monthly: {- priceIds: {- test: "price_1NdurjBXJcTfzsyJdAzIxXnT",- production: "price_1PdJ3lBXJcTfzsyJHgqcfVG9",- },- },- },- },{plan: "team",price: {diff --git a/packages/api/src/router/workspace.test.ts b/packages/api/src/router/workspace.test.tsindex 48b8dba22..9c750fcd9 100644--- a/packages/api/src/router/workspace.test.ts+++ b/packages/api/src/router/workspace.test.ts@@ -25,7 +25,7 @@ test("Get Test Workspace", async () => {id: 1,slug: "love-openstatus",name: "test",- plan: "pro",+ plan: "team",paidUntil: null,stripeId: "stripeId1",subscriptionId: "subscriptionId",@@ -54,7 +54,7 @@ test("by default we get the first workspace", async () => {id: 1,slug: "love-openstatus",name: "test",- plan: "pro",+ plan: "team",paidUntil: null,stripeId: "stripeId1",subscriptionId: "subscriptionId",@@ -96,7 +96,7 @@ test("All workspaces", async () => {id: 1,name: "test",paidUntil: null,- plan: "pro",+ plan: "team",slug: "love-openstatus",stripeId: "stripeId1",subscriptionId: "subscriptionId",diff --git a/packages/api/src/router/workspace.ts b/packages/api/src/router/workspace.tsindex e2cc9cf23..d93a5b5ee 100644--- a/packages/api/src/router/workspace.ts+++ b/packages/api/src/router/workspace.ts@@ -184,9 +184,6 @@ export const workspaceRouter = createTRPCRouter({case "team": {break;}- case "pro": {- break;- }default: {}}diff --git a/packages/db/src/schema/plan/config.ts b/packages/db/src/schema/plan/config.tsindex 43fce98cb..57925135e 100644--- a/packages/db/src/schema/plan/config.ts+++ b/packages/db/src/schema/plan/config.ts@@ -5,7 +5,7 @@ import type { Limits } from "./schema";export const allPlans: Record<WorkspacePlan,{- title: "Hobby" | "Starter" | "Growth" | "Pro";+ title: "Hobby" | "Starter" | "Pro";id: WorkspacePlan;description: string;price: number;@@ -15,7 +15,7 @@ export const allPlans: Record<free: {title: "Hobby",id: "free",- description: "For personal projects",+ description: "Perfect for personal projects",price: 0,limits: {monitors: 1,@@ -47,7 +47,7 @@ export const allPlans: Record<starter: {title: "Starter",id: "starter",- description: "For small projects",+ description: "Perfect for uptime monitoring",price: 30,limits: {monitors: 5,@@ -113,9 +113,9 @@ export const allPlans: Record<},},team: {- title: "Growth",+ title: "Pro",id: "team",- description: "For small teams",+ description: "Perfect for global synthetic monitoring",price: 100,limits: {monitors: 15,@@ -180,72 +180,4 @@ export const allPlans: Record<"private-locations": false,},},- pro: {- title: "Pro",- id: "pro",- description: "For bigger teams",- price: 300,- limits: {- monitors: 50,- "synthetic-checks": 500,- periodicity: ["30s", "1m", "5m", "10m", "30m", "1h"],- "multi-region": true,- "max-regions": 35,- "data-retention": "24 months",- "status-pages": 20,- maintenance: true,- "monitor-values-visibility": true,- screenshots: true,- otel: true,- "status-subscribers": true,- "custom-domain": true,- "password-protection": true,- "white-label": true,- notifications: true,- sms: true,- pagerduty: true,- opsgenie: true,- "notification-channels": 50,- members: "Unlimited",- "audit-log": true,- regions: [- "ams",- "arn",- "atl",- "bog",- "bom",- "bos",- "cdg",- "den",- "dfw",- "ewr",- "eze",- "fra",- "gdl",- "gig",- "gru",- "hkg",- "iad",- "jnb",- "lax",- "lhr",- "mad",- "mia",- "nrt",- "ord",- "otp",- "phx",- "qro",- "scl",- "sea",- "sin",- "sjc",- "syd",- "waw",- "yul",- "yyz",- ],- "private-locations": true,- },- },};diff --git a/packages/db/src/schema/workspaces/constants.ts b/packages/db/src/schema/workspaces/constants.tsindex 2d1c617fc..a5e9c62f7 100644--- a/packages/db/src/schema/workspaces/constants.ts+++ b/packages/db/src/schema/workspaces/constants.ts@@ -1,4 +1,4 @@-export const workspacePlans = ["free", "starter", "team", "pro"] as const;+export const workspacePlans = ["free", "starter", "team"] as const;export const workspaceRole = ["owner", "admin", "member"] as const;export const workspacePlanHierarchy: Record<@@ -8,5 +8,4 @@ export const workspacePlanHierarchy: Record<free: 0,starter: 1,team: 2,- pro: 3,};diff --git a/packages/db/src/seed.mts b/packages/db/src/seed.mtsindex d25a736e4..c1d81dfe6 100644--- a/packages/db/src/seed.mts+++ b/packages/db/src/seed.mts@@ -34,7 +34,7 @@ async function main() {stripeId: "stripeId1",name: "test",subscriptionId: "subscriptionId",- plan: "pro",+ plan: "team",endsAt: null,paidUntil: null,limits: