Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
chore: add pricing
Maximilian Kaske6ff69266d95f
diff --git a/apps/web/src/components/banner/coming-soon-banner.tsx b/apps/web/src/components/banner/coming-soon-banner.tsxindex 7116b0f81..713a37989 100644--- a/apps/web/src/components/banner/coming-soon-banner.tsx+++ b/apps/web/src/components/banner/coming-soon-banner.tsx@@ -1,4 +1,4 @@-import { Alert, AlertTitle, AlertDescription } from "@openstatus/ui";+import { Alert, AlertDescription, AlertTitle } from "@openstatus/ui";import { Hourglass } from "lucide-react";interface Props {diff --git a/apps/web/src/components/forms/monitor/form.tsx b/apps/web/src/components/forms/monitor/form.tsxindex bb06b46b7..686f33ee6 100644--- a/apps/web/src/components/forms/monitor/form.tsx+++ b/apps/web/src/components/forms/monitor/form.tsx@@ -36,10 +36,10 @@ import { RequestTestButton } from "./request-test-button";import { SectionAssertions } from "./section-assertions";import { SectionDanger } from "./section-danger";import { SectionNotifications } from "./section-notifications";+import { SectionOtel } from "./section-otel";import { SectionRequests } from "./section-requests";import { SectionScheduling } from "./section-scheduling";import { SectionStatusPage } from "./section-status-page";-import { SectionOtel } from "./section-otel";interface Props {defaultSection?: string;@@ -93,7 +93,7 @@ export function MonitorForm({// biome-ignore lint/suspicious/noExplicitAny: <explanation>headerAssertions: _assertions.filter((a) => a.type === "header") as any, // TS considers a.type === "status"textBodyAssertions: _assertions.filter(- (a) => a.type === "textBody"+ (a) => a.type === "textBody",// biome-ignore lint/suspicious/noExplicitAny: <explanation>) as any, // TS considers a.type === "textBody"degradedAfter: defaultValues?.degradedAfter,@@ -107,7 +107,7 @@ export function MonitorForm({const [pingFailed, setPingFailed] = React.useState(false);const type = React.useMemo(() => (defaultValues ? "update" : "create"),- [defaultValues]+ [defaultValues],);const handleDataUpdateOrInsertion = async (props: InsertMonitor) => {@@ -154,7 +154,7 @@ export function MonitorForm({finally: () => {setPending(false);},- }+ },);};@@ -189,7 +189,7 @@ export function MonitorForm({body &&body !== "" &&headers?.some(- (h) => h.key === "Content-Type" && h.value === "application/json"+ (h) => h.key === "Content-Type" && h.value === "application/json",)) {const validJSON = validateJSON(body);@@ -218,7 +218,7 @@ export function MonitorForm({...(statusAssertions || []),...(headerAssertions || []),...(textBodyAssertions || []),- ])+ ]),);const data = (await res.json()) as RegionChecker;@@ -254,7 +254,7 @@ export function MonitorForm({if (error instanceof Error && error.name === "AbortError") {return {error: `Abort error: request takes more then ${formatDuration(- ABORT_TIMEOUT+ ABORT_TIMEOUT,)}.`,};}diff --git a/apps/web/src/components/forms/monitor/section-otel.tsx b/apps/web/src/components/forms/monitor/section-otel.tsxindex 3489117c3..8e6410e5b 100644--- a/apps/web/src/components/forms/monitor/section-otel.tsx+++ b/apps/web/src/components/forms/monitor/section-otel.tsx@@ -1,7 +1,7 @@"use client";import { X } from "lucide-react";-import { useFieldArray, type UseFormReturn } from "react-hook-form";+import { type UseFormReturn, useFieldArray } from "react-hook-form";import type { InsertMonitor } from "@openstatus/db/src/schema";import type { Limits } from "@openstatus/db/src/schema/plan/schema";@@ -17,9 +17,9 @@ import {Input,} from "@openstatus/ui";-import { SectionHeader } from "../shared/section-header";-import { ProFeatureAlert } from "@/components/billing/pro-feature-alert";import { ComingSoonBanner } from "@/components/banner/coming-soon-banner";+import { ProFeatureAlert } from "@/components/billing/pro-feature-alert";+import { SectionHeader } from "../shared/section-header";interface Props {form: UseFormReturn<InsertMonitor>;@@ -45,7 +45,7 @@ export function SectionOtel({ form, limits }: Props) {<div className="grid w-full gap-4"><SectionHeadertitle="OpenTelemetry"- description="Configure your OpenTelemetry endpoint to send metrics to."+ description="Configure your OpenTelemetry Exporter."/><div className="grid sm:grid-cols-2 md:grid-cols-3"><FormField@@ -63,7 +63,7 @@ export function SectionOtel({ form, limits }: Props) {/></FormControl><FormDescription>- The endpoint to send metrics to.+ The endpoint to send the metrics to.</FormDescription><FormMessage /></FormItem>diff --git a/apps/web/src/config/pricing-table.tsx b/apps/web/src/config/pricing-table.tsxindex b6b2e415b..a7fb49fbe 100644--- a/apps/web/src/config/pricing-table.tsx+++ b/apps/web/src/config/pricing-table.tsx@@ -50,9 +50,9 @@ export const pricingTableConfig: Record<label: "Multi-region monitoring",},{ value: "max-regions", label: "Number of Regions" },-{ value: "data-retention", label: "Data retention" },{ value: "screenshots", label: "Screenshots upon failure" },+ { value: "otel", label: "OTel Exporter", badge: "Coming soon" },],},"synthetic-checks": {