Openstatus www.openstatus.dev

๐Ÿ› public monitors (#883)

authored by

Thibault Le Ouay and committed by
GitHub
22d08615 00686e92

+13 -7
+1 -1
apps/docs/guides/introduction.mdx
··· 4 4 5 5 Here's some content for the getting started with OpenStatus. 6 6 7 - - How to use OpenStatus to test latency in GitHub Actions 7 + - [How to use OpenStatus to test latency in GitHub Actions](/guides/test-latency-cf-workers-in-github-actions) 8 8
+1 -1
apps/web/src/app/play/checker/_components/checker-play.tsx
··· 7 7 <Shell className="flex flex-col gap-8"> 8 8 <HeaderPlay 9 9 title="Is your endpoint fast?" 10 - description="Check the performance of your website, API from the different continents." 10 + description="Test the performance of your website, API from the different continents." 11 11 /> 12 12 <div className="mx-auto grid w-full max-w-xl gap-6"> 13 13 <CheckerForm />
+6 -1
apps/web/src/app/play/checker/page.tsx
··· 6 6 export const metadata: Metadata = { 7 7 title: "Speed Checker", 8 8 description: 9 - "Get speed insights for your api, website from multiple regions.", 9 + "Test the performance your api, website from multiple regions. Get speed insights for free.", 10 + openGraph: { 11 + title: "Speed Checker", 12 + description: 13 + "Test the performance your api, website from multiple regions. Get speed insights for free.", 14 + }, 10 15 }; 11 16 12 17 export default async function PlayPage() {
+2 -2
apps/web/src/app/public/monitors/[id]/page.tsx
··· 46 46 value 47 47 ?.trim() 48 48 ?.split(",") 49 - .filter((i) => flyRegions.includes(i as Region)) ?? flyRegions, 49 + .filter((i) => flyRegions.includes(i as Region)) ?? [] 50 50 ), 51 51 }); 52 52 ··· 119 119 period={period} 120 120 quantile={quantile} 121 121 interval={interval} 122 - regions={regions as Region[]} // FIXME: not properly reseted after filtered 122 + regions={regions.length ? (regions as Region[]) : monitor.regions} // FIXME: not properly reseted after filtered 123 123 monitor={monitor} 124 124 isQuantileDisabled={isQuantileDisabled} 125 125 metricsByRegion={metricsByRegion}
+3 -2
apps/web/src/app/status-page/[domain]/monitors/[id]/page.tsx
··· 46 46 value 47 47 ?.trim() 48 48 ?.split(",") 49 - .filter((i) => flyRegions.includes(i as Region)) ?? flyRegions, 49 + .filter((i) => flyRegions.includes(i as Region)) ?? [] 50 50 ), 51 51 }); 52 52 ··· 72 72 73 73 const { period, quantile, interval, regions } = search.data; 74 74 75 + console.log(regions.length); 75 76 // TODO: work it out easier 76 77 const intervalMinutes = getMinutesByInterval(interval); 77 78 const periodicityMinutes = getMinutesByInterval(monitor.periodicity); ··· 112 113 period={period} 113 114 quantile={quantile} 114 115 interval={interval} 115 - regions={regions as Region[]} // FIXME: not properly reseted after filtered 116 + regions={regions.length ? (regions as Region[]) : monitor.regions} // FIXME: not properly reseted after filtered 116 117 monitor={monitor} 117 118 isQuantileDisabled={isQuantileDisabled} 118 119 metricsByRegion={metricsByRegion}