Skip to content

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

feat(reports): add swap usage series to memory chart DEBUG-127 (#46780)

Jordi Enric3ca6f665bc48
diff --git a/apps/studio/data/reports/database-charts.ts b/apps/studio/data/reports/database-charts.ts
index 4ce335f98d4..9618ff3f69f 100644
--- a/apps/studio/data/reports/database-charts.ts
+++ b/apps/studio/data/reports/database-charts.ts
@@ -92,6 +92,14 @@ export const getReportAttributesV2: (
omitFromTotal: true,
tooltip: 'Total RAM available on this instance',
},
+ {
+ attribute: 'ram_usage_swap',
+ provider: 'infra-monitoring',
+ label: 'Swap',
+ omitFromTotal: true,
+ tooltip:
+ 'Swap space in use by the operating system. Sustained swap usage indicates memory pressure and may degrade database performance',
+ },
],
},
{