add bandwidth chart

This commit is contained in:
Henry Dollman
2024-07-19 17:00:19 -04:00
parent 8a6b25ddae
commit 224f51da1a
5 changed files with 122 additions and 19 deletions

6
site/src/types.d.ts vendored
View File

@@ -48,6 +48,10 @@ export interface SystemStats {
dr: number
/** disk write (mb) */
dw: number
/** network sent (mb) */
ns: number
/** network received (mb) */
nr: number
}
export interface ContainerStatsRecord extends RecordModel {
@@ -66,7 +70,7 @@ interface ContainerStats {
export interface SystemStatsRecord extends RecordModel {
system: string
info: SystemStats
stats: SystemStats
}
export interface AlertRecord extends RecordModel {