Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Rename "telemetry" to "metrics" in agent-facing copy

rcourtmanbf1d7d4e0928
diff --git a/frontend-modern/src/components/Settings/ConnectionEditor/ConnectionEditor.tsx b/frontend-modern/src/components/Settings/ConnectionEditor/ConnectionEditor.tsx
index 2dfd2d5e42..c399fc384d 100644
--- a/frontend-modern/src/components/Settings/ConnectionEditor/ConnectionEditor.tsx
+++ b/frontend-modern/src/components/Settings/ConnectionEditor/ConnectionEditor.tsx
@@ -77,14 +77,6 @@ export const ConnectionEditor: Component<ConnectionEditorProps> = (props) => {
when={showCredentialSlot()}
fallback={
<div class="space-y-4 p-4">
- <div>
- <div class="text-sm font-semibold text-base-content">Add a connection</div>
- <div class="mt-0.5 text-xs text-muted">
- Paste a platform address to connect its API, or install the Unified Agent on a
- host.
- </div>
- </div>
-
<section class="space-y-3 rounded-md border border-border bg-surface-alt/30 p-3">
<div>
<div class="text-xs font-semibold uppercase tracking-wide text-muted">
@@ -130,7 +122,7 @@ export const ConnectionEditor: Component<ConnectionEditorProps> = (props) => {
Pulse Unified Agent
</div>
<div class="text-[11px] text-muted">
- Host-level telemetry on Proxmox / VMware / TrueNAS, or the only path on
+ Host-level metrics on Proxmox / VMware / TrueNAS, or the only path on
bare-metal Linux, Unraid, FreeBSD.
</div>
</div>
diff --git a/frontend-modern/src/components/Settings/ConnectionEditor/__tests__/ConnectionEditor.test.tsx b/frontend-modern/src/components/Settings/ConnectionEditor/__tests__/ConnectionEditor.test.tsx
index aac06538b3..f71d3b6668 100644
--- a/frontend-modern/src/components/Settings/ConnectionEditor/__tests__/ConnectionEditor.test.tsx
+++ b/frontend-modern/src/components/Settings/ConnectionEditor/__tests__/ConnectionEditor.test.tsx
@@ -107,6 +107,8 @@ describe('ConnectionEditor', () => {
expect(
screen.getByRole('button', { name: /install the unified agent on a host/i }),
).toBeInTheDocument();
+ expect(screen.getByText(/host-level metrics/i)).toBeInTheDocument();
+ expect(screen.queryByText(/host-level telemetry/i)).toBeNull();
});
it('routes the Install Unified Agent button straight to the agent credential slot', () => {
diff --git a/frontend-modern/src/components/Settings/ConnectionsExplainer.tsx b/frontend-modern/src/components/Settings/ConnectionsExplainer.tsx
index d46c2f93b7..fdafda7e65 100644
--- a/frontend-modern/src/components/Settings/ConnectionsExplainer.tsx
+++ b/frontend-modern/src/components/Settings/ConnectionsExplainer.tsx
@@ -21,7 +21,7 @@ const persistDismissed = () => {
}
};
-const ALWAYS_ON_CAPABILITIES = ['Hardware telemetry'];
+const ALWAYS_ON_CAPABILITIES = ['Hardware metrics'];
const OPT_IN_CAPABILITIES = ['Assistant commands', 'Patrol remediation'];
@@ -61,7 +61,7 @@ export const ConnectionsExplainer: Component = () => {
</h3>
<p class="mt-0.5 text-xs text-muted">
The platform API covers workloads. The Unified Agent adds host-level
- telemetry, and stands alone where there's no API.
+ metrics, and stands alone where there's no API.
</p>
</div>
diff --git a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx
index a7902cb2c6..95a097845c 100644
--- a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx
+++ b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx
@@ -318,7 +318,7 @@ const InfrastructureWorkspaceContent: Component<InfrastructureWorkspaceProps> =
<div>
<div class="text-base font-semibold text-base-content">Add connection</div>
<div class="mt-0.5 text-xs text-muted">
- Paste an address — Pulse detects the product, you enter credentials, save.
+ Paste an address. Pulse detects the product, you enter credentials, and save.
</div>
</div>
<button
diff --git a/frontend-modern/src/components/Settings/__tests__/ConnectionsExplainer.test.tsx b/frontend-modern/src/components/Settings/__tests__/ConnectionsExplainer.test.tsx
index e638c537f0..2392460586 100644
--- a/frontend-modern/src/components/Settings/__tests__/ConnectionsExplainer.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/ConnectionsExplainer.test.tsx
@@ -32,7 +32,7 @@ describe('ConnectionsExplainer', () => {
it('surfaces concrete agent capabilities and trust facts users care about', () => {
render(() => <ConnectionsExplainer />);
- for (const capability of ['Hardware telemetry', 'Assistant commands', 'Patrol remediation']) {
+ for (const capability of ['Hardware metrics', 'Assistant commands', 'Patrol remediation']) {
expect(screen.getByText(capability)).toBeInTheDocument();
}
for (const fact of ['Single Go binary', '~13 MB download', 'No runtime dependencies', 'Open source']) {