mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 22:25:24 +00:00
feat: ship host metrics as a first-party in-process plugin
This commit is contained in:
1 parent
a2479c19b0
commit
19b70430a1
145 files changed
+675
-349
No files matched your search
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user