Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Dashboard - replace broken links for high CPU, RAM and IO guides (#33433)

Peter7ba53fa546f2
diff --git a/apps/studio/components/interfaces/Billing/Usage/UsageWarningAlerts/CPUWarnings.tsx b/apps/studio/components/interfaces/Billing/Usage/UsageWarningAlerts/CPUWarnings.tsx
index 8616aeddf4a..fc254440a42 100644
--- a/apps/studio/components/interfaces/Billing/Usage/UsageWarningAlerts/CPUWarnings.tsx
+++ b/apps/studio/components/interfaces/Billing/Usage/UsageWarningAlerts/CPUWarnings.tsx
@@ -22,7 +22,9 @@ const CPUWarnings = ({ isFreePlan, upgradeUrl, severity }: CPUWarningsProps) =>
</AlertDescription_Shadcn_>
<div className="mt-3 flex items-center space-x-2">
<Button asChild type="default">
- <Link href="https://supabase.com/docs/guides/platform/exhaust-cpu">Learn more</Link>
+ <Link href="https://supabase.com/docs/guides/troubleshooting/high-cpu-usage">
+ Learn more
+ </Link>
</Button>
<Button asChild type="warning">
<Link href={upgradeUrl}>
@@ -46,7 +48,9 @@ const CPUWarnings = ({ isFreePlan, upgradeUrl, severity }: CPUWarningsProps) =>
</AlertDescription_Shadcn_>
<div className="mt-3 flex items-center space-x-2">
<Button asChild type="default">
- <Link href="https://supabase.com/docs/guides/platform/exhaust-cpu">Learn more</Link>
+ <Link href="https://supabase.com/docs/guides/troubleshooting/high-cpu-usage">
+ Learn more
+ </Link>
</Button>
<Button asChild type="danger">
<Link href={upgradeUrl}>
diff --git a/apps/studio/components/interfaces/Billing/Usage/UsageWarningAlerts/RAMWarnings.tsx b/apps/studio/components/interfaces/Billing/Usage/UsageWarningAlerts/RAMWarnings.tsx
index fcd5c65707a..6b7cc9396a1 100644
--- a/apps/studio/components/interfaces/Billing/Usage/UsageWarningAlerts/RAMWarnings.tsx
+++ b/apps/studio/components/interfaces/Billing/Usage/UsageWarningAlerts/RAMWarnings.tsx
@@ -22,7 +22,9 @@ const RAMWarnings = ({ isFreePlan, upgradeUrl, severity }: RAMWarningsProps) =>
</AlertDescription_Shadcn_>
<div className="mt-3 flex items-center space-x-2">
<Button asChild type="default">
- <Link href="https://supabase.com/docs/guides/platform/exhaust-ram">Learn more</Link>
+ <Link href="https://supabase.com/docs/guides/troubleshooting/exhaust-ram">
+ Learn more
+ </Link>
</Button>
<Button asChild type="warning">
<Link href={upgradeUrl}>
@@ -46,7 +48,9 @@ const RAMWarnings = ({ isFreePlan, upgradeUrl, severity }: RAMWarningsProps) =>
</AlertDescription_Shadcn_>
<div className="mt-3 flex items-center space-x-2">
<Button asChild type="default">
- <Link href="https://supabase.com/docs/guides/platform/exhaust-cpu">Learn more</Link>
+ <Link href="https://supabase.com/docs/guides/troubleshooting/high-cpu-usage">
+ Learn more
+ </Link>
</Button>
<Button asChild type="danger">
<Link href={upgradeUrl}>
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/Infrastructure.constants.ts b/apps/studio/components/interfaces/Settings/Infrastructure/Infrastructure.constants.ts
index a936975a75d..73dff33764b 100644
--- a/apps/studio/components/interfaces/Settings/Infrastructure/Infrastructure.constants.ts
+++ b/apps/studio/components/interfaces/Settings/Infrastructure/Infrastructure.constants.ts
@@ -44,7 +44,10 @@ export const INFRA_ACTIVITY_METRICS: CategoryMeta[] = [
name: 'Compute Add-Ons',
url: 'https://supabase.com/docs/guides/platform/compute-add-ons',
},
- { name: 'High CPU Usage', url: 'https://supabase.com/docs/guides/platform/exhaust-cpu' },
+ {
+ name: 'High CPU Usage',
+ url: 'https://supabase.com/docs/guides/troubleshooting/high-cpu-usage',
+ },
{
name: 'Metrics',
url: 'https://supabase.com/docs/guides/platform/metrics',
@@ -65,7 +68,10 @@ export const INFRA_ACTIVITY_METRICS: CategoryMeta[] = [
name: 'Compute Add-Ons',
url: 'https://supabase.com/docs/guides/platform/compute-add-ons',
},
- { name: 'High RAM Usage', url: 'https://supabase.com/docs/guides/platform/exhaust-ram' },
+ {
+ name: 'High RAM Usage',
+ url: 'https://supabase.com/docs/guides/troubleshooting/exhaust-ram',
+ },
{
name: 'Metrics',
url: 'https://supabase.com/docs/guides/platform/metrics',
diff --git a/apps/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.ts b/apps/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.ts
index e1fe17b52da..07915757f5b 100644
--- a/apps/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.ts
+++ b/apps/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.ts
@@ -69,7 +69,7 @@ export const RESOURCE_WARNING_MESSAGES: Record<string, ResourceWarningMessage> =
description: 'It may become unresponsive',
},
},
- docsUrl: 'https://supabase.com/docs/guides/platform/exhaust-disk-io',
+ docsUrl: 'https://supabase.com/docs/guides/troubleshooting/exhaust-disk-io',
buttonText: 'Check usage',
metric: 'disk_io',
},
@@ -124,7 +124,7 @@ export const RESOURCE_WARNING_MESSAGES: Record<string, ResourceWarningMessage> =
description: `Performance is affected`,
},
},
- docsUrl: 'https://supabase.com/docs/guides/platform/exhaust-cpu',
+ docsUrl: 'https://supabase.com/docs/guides/troubleshooting/high-cpu-usage',
buttonText: 'Check usage',
metric: 'cpu',
},
@@ -152,7 +152,7 @@ export const RESOURCE_WARNING_MESSAGES: Record<string, ResourceWarningMessage> =
description: `Performance is affected`,
},
},
- docsUrl: 'https://supabase.com/docs/guides/platform/exhaust-ram',
+ docsUrl: 'https://supabase.com/docs/guides/troubleshooting/exhaust-ram',
buttonText: 'Check usage',
metric: 'ram',
},