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:
2
lib/types/customModules/generic.d.ts
vendored
2
lib/types/customModules/generic.d.ts
vendored
@@ -6,7 +6,7 @@ export type GenericResourceMetrics = {
|
||||
percentage: number;
|
||||
};
|
||||
|
||||
type GenericResourceData = ResourceUsage & {
|
||||
export type GenericResourceData = GenericResourceMetrics & {
|
||||
free: number;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user