The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat(reports): add network throughput chart to database report (#45747)
Jordi Enric52fccc7b3b9d
diff --git a/apps/studio/data/reports/database-charts.ts b/apps/studio/data/reports/database-charts.tsindex 3cddd9956bc..bfc75190293 100644--- a/apps/studio/data/reports/database-charts.ts+++ b/apps/studio/data/reports/database-charts.ts@@ -165,6 +165,38 @@ export const getReportAttributesV2: (},],},+ {+ id: 'network-throughput',+ label: 'Network throughput',+ syncId: 'database-reports',+ hide: false,+ showTooltip: true,+ format: 'bytes-per-second',+ valuePrecision: 1,+ showLegend: true,+ showMaxValue: false,+ hideChartType: false,+ showGrid: true,+ YAxisProps: {+ width: 70,+ tickFormatter: (value: any) => `${formatBytes(value, 1)}/s`,+ },+ defaultChartStyle: 'stackedAreaLine',+ attributes: [+ {+ attribute: 'network_receive_bytes',+ provider: 'infra-monitoring',+ label: 'Network in',+ tooltip: 'Inbound network throughput (bytes per second)',+ },+ {+ attribute: 'network_transmit_bytes',+ provider: 'infra-monitoring',+ label: 'Network out',+ tooltip: 'Outbound network throughput (bytes per second)',+ },+ ],+ },{id: 'disk-iops',label: 'Disk Input/Output operations per second (IOPS)',