diff --git a/apps/studio/data/reports/database-charts.ts b/apps/studio/data/reports/database-charts.ts index ce4df40e06b..1b59e43ae2c 100644 --- a/apps/studio/data/reports/database-charts.ts +++ b/apps/studio/data/reports/database-charts.ts @@ -130,6 +130,44 @@ export const getReportAttributesV2: ( }, ], }, + { + id: 'disk-io-balance', + label: 'Disk I/O balance', + docsUrl: `${DOCS_URL}/guides/platform/compute-and-disk#choosing-the-right-compute-instance-for-consistent-disk-performance`, + syncId: 'database-reports', + format: '%', + valuePrecision: 2, + availableIn: ['free', 'pro', 'team', 'enterprise', 'platform'], + hide: false, + showTooltip: true, + showLegend: true, + showMaxValue: true, + showGrid: true, + YAxisProps: { + width: 45, + tickFormatter: (value: any) => `${numberFormatter(value, 2)}%`, + }, + hideChartType: false, + defaultChartStyle: 'bar', + attributes: [ + { + attribute: 'disk_io_consumption', + provider: 'infra-monitoring', + label: 'Disk IO % Consumed', + format: '%', + tooltip: + 'Percentage of disk I/O budget consumed. Values above 1% indicate the workload has exceeded baseline I/O throughput. At 100%, all available disk I/O budget has been used and the instance reverts to baseline performance', + }, + { + attribute: 'disk_io_balance_max', + provider: 'reference-line', + label: 'Max', + value: 100, + tooltip: 'Maximum disk I/O balance (100% consumed)', + isMaxValue: true, + }, + ], + }, { id: 'disk-iops', label: 'Disk Input/Output operations per second (IOPS)',