Skip to content

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

fix(reports): show absolute CPU usage instead of normalized stack DEBUG-135 (#46781)

Jordi Enric948ee734ef64
diff --git a/apps/studio/data/reports/database-charts.ts b/apps/studio/data/reports/database-charts.ts
index f6ea44013a3..4ce335f98d4 100644
--- a/apps/studio/data/reports/database-charts.ts
+++ b/apps/studio/data/reports/database-charts.ts
@@ -171,7 +171,6 @@ export const getReportAttributesV2: (
showLegend: true,
showMaxValue: false,
showGrid: true,
- normalizeVisibleStackToPercent: true,
YAxisProps: {
width: 55,
domain: [0, 100] as [number, number],
@@ -230,24 +229,6 @@ export const getReportAttributesV2: (
tooltip:
'CPU time spent on other tasks (e.g., background processes, software interrupts)',
},
- {
- attribute: 'cpu_usage_busy_idle',
- provider: 'infra-monitoring',
- label: 'Idle',
- format: '%',
- omitFromTotal: true,
- color: { light: '#6EA85F', dark: '#A3FFC2' },
- fill: { light: '#A6D8AE', dark: '#2A5C3F' },
- tooltip: 'CPU time spent idle and available for new work',
- },
- {
- attribute: 'cpu_usage_max',
- provider: 'reference-line',
- label: 'Max',
- value: 100,
- tooltip: 'Max CPU usage',
- isMaxValue: true,
- },
],
},
{