feat: ship host metrics as a first-party in-process plugin

This commit is contained in:
LukeGus committed 2026-09-21 11:30:46 -05:00
1 parent a2479c19b0
commit 19b70430a1
145 files changed
+675 -349

No files matched your search

+5 -5
View File
@@ -28,14 +28,14 @@ import {
createFleetSshFactory,
} from "../../hosts/ssh-client-factory.js";
import { withConnection } from "../../hosts/ssh-connection-pool.js";
import { execCommand } from "../../hosts/metrics/widgets/common-utils.js";
import { detectPlatform } from "../../hosts/metrics/managers/platform.js";
import { execCommand } from "../../hosts/metrics-shared/common-utils.js";
import { detectPlatform } from "../../hosts/metrics-shared/platform.js";
import {
execElevated,
ElevationError,
} from "../../hosts/metrics/managers/exec-elevated.js";
import { buildPackageActionCommand } from "../../hosts/metrics/managers/packages.js";
import { isValidPackageName } from "../../hosts/metrics/managers/validation.js";
} from "../../hosts/metrics-shared/exec-elevated.js";
import { buildPackageActionCommand } from "../../hosts/metrics-shared/package-commands.js";
import { isValidPackageName } from "../../hosts/metrics-shared/validation.js";
import { resolveSnippetCommand } from "./snippets-execution.js";
const router = express.Router();
+1 -1
View File
@@ -18,7 +18,7 @@ import {
serializeProxmoxJumpHosts,
} from "./proxmox-jump-hosts.js";
import { isSafeNodeName } from "../../hosts/proxmox-shared.js";
import { execElevated } from "../../hosts/metrics/managers/exec-elevated.js";
import { execElevated } from "../../hosts/metrics-shared/exec-elevated.js";
const router = express.Router();
const proxmoxLogger = logger;