chore: update node-os-utils to version 2.0.1 and refactor lodash imports

- Upgraded `node-os-utils` from version 1.3.7 to 2.0.1 across multiple package.json files.
- Removed deprecated `@types/node-os-utils` dependency.
- Refactored lodash imports to use a single import statement for consistency.
- Enhanced Docker stats monitoring by integrating new features from `node-os-utils` version 2.0.1.
This commit is contained in:
Mauricio Siu
2025-11-15 00:28:44 -06:00
parent b9324e6320
commit 69b7777db4
8 changed files with 112 additions and 39 deletions

View File

@@ -419,6 +419,9 @@ export const deployPreviewApplication = async ({
};
export const getApplicationStats = async (appName: string) => {
if (appName === "dokploy") {
return await getAdvancedStats(appName);
}
const filter = {
status: ["running"],
label: [`com.docker.swarm.service.name=${appName}`],