mirror of
https://github.com/supabase/supabase.git
synced 2026-10-12 04:45:08 +03:00
surface disk io %
This commit is contained in:
1 parent
ee25ba20dc
commit
ea5d60ac1f
1 file changed
+38
@@ -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)',
|
||||
|
||||
Reference in new issue
Block a user