Updated the logic for Stat/Metric tracking in the dashboard more robust. (#365)

* Updated the logic for Stat/Metric tracking in the dashboard more robust.

* Show used/total for stats.

* Added the ability to configure the update interval of metrics in the dashboard.
This commit is contained in:
Jas Singh
2024-10-24 02:26:39 -07:00
committed by GitHub
parent 694711e0d4
commit fcdba86fec
10 changed files with 223 additions and 95 deletions

View File

@@ -6,7 +6,7 @@ export type GenericResourceMetrics = {
percentage: number;
};
type GenericResourceData = ResourceUsage & {
export type GenericResourceData = GenericResourceMetrics & {
free: number;
};