Skip to content

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

fix(studio): simplify memory chart defaults DEBUG-241 (#51930)

Jordi Enriccb5b57ce519b
diff --git a/apps/studio/data/reports/database-charts.ts b/apps/studio/data/reports/database-charts.ts
index 8fa6e308ff8..3aabacceff8 100644
--- a/apps/studio/data/reports/database-charts.ts
+++ b/apps/studio/data/reports/database-charts.ts
@@ -68,7 +68,7 @@ export const getReportAttributesV2: (
showLegend: true,
hideChartType: false,
defaultChartStyle: 'bar',
- showMaxValue: false,
+ showMaxValue: true,
showGrid: true,
syncId: 'database-reports',
valuePrecision: 2,
@@ -95,15 +95,6 @@ export const getReportAttributesV2: (
tooltip:
'RAM used by the operating system page cache and PostgreSQL buffers to accelerate disk reads/writes',
},
- {
- attribute: 'ram_usage_free',
- provider: 'infra-monitoring',
- label: 'Free',
- color: 'var(--chart-muted)',
- fill: 'var(--chart-muted-fill)',
- tooltip:
- 'Unallocated memory available for use. A small portion is always reserved by the operating system',
- },
{
attribute: 'ram_usage_total',
provider: 'infra-monitoring',