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.

Fix thermal history for agent machines

rcourtman14a3b8b5af27
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index 204b395c5f..e845dccf71 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -66,6 +66,9 @@ puts the same machine on two surfaces that do not share an identity.
## Canonical Files
1. `frontend-modern/src/components/shared/`
+ 1a. `frontend-modern/src/components/Infrastructure/resourceDetailDrawerMetricsHistoryModel.ts`
+ 1b. `frontend-modern/src/components/Workloads/nodeDrawerModel.ts`
+ 1c. `frontend-modern/src/features/docker/dockerHostDrawerModel.ts`
2. `frontend-modern/src/components/Settings/Settings.tsx`
3. `frontend-modern/src/components/Settings/SettingsDialogs.tsx`
4. `frontend-modern/src/components/Settings/SettingsPageShell.tsx`
@@ -5888,10 +5891,18 @@ when at least one current machine has finite utilization evidence, so estates
without GPU telemetry do not carry an empty default column or an inert toggle.
The shared resource drawer keeps `GuestDrawerHistory` as the sole history
-renderer. Resources with typed GPU sensors may extend its normal groups with
-core utilization, VRAM pressure, and GPU temperature series and provide current
-typed readings as initial fallbacks. Resources without GPU sensors retain the
-default history groups unchanged. Rendered table proof belongs in
+renderer. Agent-backed hosts, including standalone Unraid machines, Proxmox
+nodes, and Docker/Podman hosts, consume the single
+`frontend-modern/src/components/shared/hostMetricsHistoryModel.ts`
+`HOST_METRICS_HISTORY_GROUPS` catalog so CPU temperature history cannot drift
+out of one host surface while remaining on another. Host resources provide the
+current canonical CPU temperature as the initial fallback; SMART disk
+temperature history remains on the physical-disk resource rather than being
+mislabelled as host CPU temperature. Resources with typed GPU sensors extend
+the applicable host groups with core utilization, VRAM pressure, and GPU
+temperature series and provide current typed readings as initial fallbacks.
+Non-host workloads retain the default workload history groups unchanged.
+Rendered table proof belongs in
`frontend-modern/src/features/standalone/__tests__/AgentsMachinesTable.test.tsx`;
drawer grouping and fallback proof belongs in
`frontend-modern/src/components/Infrastructure/__tests__/resourceDetailDrawerMetricsHistoryModel.branchcov0712.test.ts`.
diff --git a/docs/release-control/v6/internal/subsystems/registry.json b/docs/release-control/v6/internal/subsystems/registry.json
index 5d94f25a8d..1ae3e02a5a 100644
--- a/docs/release-control/v6/internal/subsystems/registry.json
+++ b/docs/release-control/v6/internal/subsystems/registry.json
@@ -4650,6 +4650,7 @@
"frontend-modern/scripts/shared-template-registry.json",
"frontend-modern/src/components/CommercialMigrationBanner.tsx",
"frontend-modern/src/components/GitHubStarBanner.tsx",
+ "frontend-modern/src/components/Infrastructure/resourceDetailDrawerMetricsHistoryModel.ts",
"frontend-modern/src/components/Login.tsx",
"frontend-modern/src/components/Settings/AgentIntegrationsPanel.tsx",
"frontend-modern/src/components/Settings/AIChatMaintenanceSection.tsx",
@@ -4716,6 +4717,8 @@
"frontend-modern/src/components/SetupWizard/SetupCompletionPreview.tsx",
"frontend-modern/src/components/SetupWizard/SetupWizard.tsx",
"frontend-modern/src/components/Toast/Toast.tsx",
+ "frontend-modern/src/components/Workloads/nodeDrawerModel.ts",
+ "frontend-modern/src/features/docker/dockerHostDrawerModel.ts",
"frontend-modern/src/features/platformPage/PlatformOutdatedAgentNotice.tsx",
"frontend-modern/src/features/platformPage/PlatformOutdatedSensorSetupNotice.tsx",
"frontend-modern/src/features/platformPage/PlatformResourceDetailTableRow.tsx",
@@ -5254,6 +5257,24 @@
"frontend-modern/src/components/shared/__tests__/PulseDataGrid.test.tsx"
]
},
+ {
+ "id": "host-metrics-history",
+ "label": "shared host metrics history proof",
+ "match_prefixes": [],
+ "match_files": [
+ "frontend-modern/src/components/Infrastructure/resourceDetailDrawerMetricsHistoryModel.ts",
+ "frontend-modern/src/components/Workloads/nodeDrawerModel.ts",
+ "frontend-modern/src/features/docker/dockerHostDrawerModel.ts"
+ ],
+ "allow_same_subsystem_tests": false,
+ "test_prefixes": [],
+ "exact_files": [
+ "frontend-modern/src/components/Infrastructure/__tests__/resourceDetailDrawerMetricsHistoryModel.branchcov0712.test.ts",
+ "frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts",
+ "frontend-modern/src/components/Workloads/__tests__/nodeDrawerModel.branchcov0713.test.ts",
+ "frontend-modern/src/features/docker/__tests__/dockerHostDrawerModel.test.ts"
+ ]
+ },
{
"id": "shared-component-guardrails",
"label": "shared primitive guardrail proof",
diff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.json
index 8278f7e486..71e06d4c1d 100644
--- a/frontend-modern/browser-verification.json
+++ b/frontend-modern/browser-verification.json
@@ -1,44 +1,43 @@
{
"version": 1,
- "base_sha": "929c03b4906590fa12b7d7ce1d63e81ab384854b",
- "verified_at": "2026-08-13T20:53:32Z",
+ "base_sha": "8165eb1066893b0fd9900e11e837d7b50aa52d92",
+ "verified_at": "2026-08-13T21:54:10Z",
"result": "passed",
"changed_paths": [
- "frontend-modern/src/features/patrol/PatrolAttentionWorkbench.tsx",
- "frontend-modern/src/features/patrol/PatrolIntelligenceSurface.tsx",
- "frontend-modern/src/features/patrol/__tests__/PatrolAttentionWorkbench.test.tsx",
- "frontend-modern/src/routing/resourceLinks.ts"
+ "frontend-modern/src/components/Infrastructure/resourceDetailDrawerMetricsHistoryModel.ts",
+ "frontend-modern/src/components/Workloads/nodeDrawerModel.ts",
+ "frontend-modern/src/components/shared/hostMetricsHistoryModel.ts",
+ "frontend-modern/src/features/docker/dockerHostDrawerModel.ts"
],
"content_sha256": {
- "frontend-modern/src/features/patrol/PatrolAttentionWorkbench.tsx": "34d7d90cfb0a0a6405346115393688a8db89be602e4112512a61fce7f17237f2",
- "frontend-modern/src/features/patrol/PatrolIntelligenceSurface.tsx": "396357b7930259e4be0947e97264d5311956c118295c10d0daaa2f59be89e44c",
- "frontend-modern/src/features/patrol/__tests__/PatrolAttentionWorkbench.test.tsx": "d809cd5ee80973042e8c703e746a392ee0235d3868a0177ff8e874c87d7b811e",
- "frontend-modern/src/routing/resourceLinks.ts": "9b44383c2061a6ec4f2e49a124be766a2d7294862dd32f3343bde1199e690030"
+ "frontend-modern/src/components/Infrastructure/resourceDetailDrawerMetricsHistoryModel.ts": "042cf5d1d89777930a9e34e15601c6a12743e453e0910641b7be809447737026",
+ "frontend-modern/src/components/Workloads/nodeDrawerModel.ts": "834acdaffc82c14cc1744284bd5353905caa69cf6293775f192f2c086daef232",
+ "frontend-modern/src/components/shared/hostMetricsHistoryModel.ts": "ff383009e76ebe461c0a2169fc706016b718dabdb31263dbfe152f74391e7eeb",
+ "frontend-modern/src/features/docker/dockerHostDrawerModel.ts": "ca67650d119f275d8eb584902a754342ab92dc79851187e500cb751d048e8a10"
},
"routes": [
- "/patrol"
+ "/standalone/machines"
],
"viewports": [
{
- "width": 1311,
- "height": 1234
+ "width": 1280,
+ "height": 720
},
{
- "width": 375,
- "height": 812
+ "width": 390,
+ "height": 844
}
],
"states": [
- "Needs attention list with 10 active mock items",
- "Attention detail open with Lifecycle controls and the new durable-options guidance",
- "Findings disclosure collapsed with '5 open' badge on the summary",
- "Findings disclosure expanded showing the Open work findings list",
- "Expanded finding Manage menu listing Remember as expected and dismiss actions"
+ "Machines list with agent-backed rows collapsed",
+ "Apollo-114 resource drawer open on Overview",
+ "History selected at 24 hours with populated utilization, network I/O, disk I/O, and CPU thermals charts",
+ "History selected at 1 hour in the narrow layout with the thermal chart scrolled into view"
],
"interactions": [
- "Clicked an attention item to open the detail panel (desktop and 375px mobile)",
- "Verified 'adjust alert thresholds' renders as a link with href /alerts/thresholds",
- "Clicked 'review Patrol findings' on both viewports: disclosure opened and scrolled into view",
- "Expanded a finding row and opened its Manage menu to confirm Remember as expected is reachable"
+ "Navigated to Machines and expanded Apollo-114",
+ "Selected the resource History tab",
+ "Changed the history range from 24 hours to 1 hour",
+ "Scrolled the narrow drawer through all four stacked charts and inspected the thermal chart pixels"
]
}
diff --git a/frontend-modern/src/components/Infrastructure/__tests__/resourceDetailDrawerMetricsHistoryModel.branchcov0712.test.ts b/frontend-modern/src/components/Infrastructure/__tests__/resourceDetailDrawerMetricsHistoryModel.branchcov0712.test.ts
index 105c344aee..48841fc9af 100644
--- a/frontend-modern/src/components/Infrastructure/__tests__/resourceDetailDrawerMetricsHistoryModel.branchcov0712.test.ts
+++ b/frontend-modern/src/components/Infrastructure/__tests__/resourceDetailDrawerMetricsHistoryModel.branchcov0712.test.ts
@@ -129,6 +129,7 @@ describe('getResourceMetricsHistoryFallbackMetrics branch coverage', () => {
netout: 2000,
diskread: 3000,
diskwrite: 4000,
+ temperature: undefined,
gpu: undefined,
gpu_memory: undefined,
gpu_temperature: undefined,
@@ -147,6 +148,7 @@ describe('getResourceMetricsHistoryFallbackMetrics branch coverage', () => {
netout: undefined,
diskread: undefined,
diskwrite: undefined,
+ temperature: undefined,
gpu: undefined,
gpu_memory: undefined,
gpu_temperature: undefined,
@@ -214,6 +216,7 @@ describe('getResourceMetricsHistoryFallbackMetrics branch coverage', () => {
netout: undefined,
diskread: undefined,
diskwrite: undefined,
+ temperature: undefined,
gpu: undefined,
gpu_memory: undefined,
gpu_temperature: undefined,
@@ -250,10 +253,39 @@ describe('getResourceMetricsHistoryFallbackMetrics branch coverage', () => {
expect(metrics.gpu_memory).toBe(87.5);
expect(metrics.gpu_temperature).toBe(70);
expect(getResourceMetricsHistoryGroups(resource).map((group) => group.id)).toEqual(
- expect.arrayContaining(['gpu-utilization', 'gpu-thermal']),
+ expect.arrayContaining(['thermals', 'gpu-utilization', 'gpu-thermal']),
);
});
+ it('uses canonical host groups and current CPU temperature for an Unraid machine', () => {
+ const resource = baseResource({
+ platformType: 'unraid',
+ temperature: 57.5,
+ });
+
+ expect(getResourceMetricsHistoryGroups(resource).map((group) => group.id)).toEqual([
+ 'utilization',
+ 'network',
+ 'disk-io',
+ 'thermals',
+ ]);
+ expect(getResourceMetricsHistoryFallbackMetrics(resource).temperature).toBe(57.5);
+ });
+
+ it('keeps workload history groups free of host-only thermals', () => {
+ const resource = baseResource({
+ type: 'vm',
+ metricsTarget: { resourceType: 'vm', resourceId: 'vm-101' },
+ temperature: 44,
+ });
+
+ expect(getResourceMetricsHistoryGroups(resource).map((group) => group.id)).toEqual([
+ 'utilization',
+ 'network',
+ 'disk-io',
+ ]);
+ });
+
it('emits the memory ternary FALSE arm as undefined when memory is explicitly absent but disk is present', () => {
// Mixes a present disk (TRUE arm) with an absent memory (FALSE arm) to prove
// the two ternaries are evaluated independently.
diff --git a/frontend-modern/src/components/Infrastructure/resourceDetailDrawerMetricsHistoryModel.ts b/frontend-modern/src/components/Infrastructure/resourceDetailDrawerMetricsHistoryModel.ts
index 3dd204daf8..bfd109a659 100644
--- a/frontend-modern/src/components/Infrastructure/resourceDetailDrawerMetricsHistoryModel.ts
+++ b/frontend-modern/src/components/Infrastructure/resourceDetailDrawerMetricsHistoryModel.ts
@@ -1,4 +1,5 @@
import type { ResourceType as MetricsHistoryResourceType } from '@/api/charts';
+import { HOST_METRICS_HISTORY_GROUPS } from '@/components/shared/hostMetricsHistoryModel';
import type { GuestDrawerHistoryTarget } from '@/components/Workloads/guestDrawerModel';
import {
GUEST_DRAWER_HISTORY_GROUPS,
@@ -50,7 +51,6 @@ export const getResourceGPUTemperatureCelsius = (resource: Resource): number | u
});
const GPU_HISTORY_GROUPS: GuestDrawerHistoryGroupConfig[] = [
- ...GUEST_DRAWER_HISTORY_GROUPS,
{
id: 'gpu-utilization',
label: 'GPU Utilization',
@@ -70,10 +70,14 @@ const GPU_HISTORY_GROUPS: GuestDrawerHistoryGroupConfig[] = [
export const getResourceMetricsHistoryGroups = (
resource: Resource,
-): GuestDrawerHistoryGroupConfig[] =>
- (resource.agent?.sensors?.gpu?.length ?? 0) > 0
- ? GPU_HISTORY_GROUPS
- : GUEST_DRAWER_HISTORY_GROUPS;
+): GuestDrawerHistoryGroupConfig[] => {
+ const target = getResourceMetricsHistoryTarget(resource);
+ const baseGroups =
+ target?.resourceType === 'agent' ? HOST_METRICS_HISTORY_GROUPS : GUEST_DRAWER_HISTORY_GROUPS;
+ return (resource.agent?.sensors?.gpu?.length ?? 0) > 0
+ ? [...baseGroups, ...GPU_HISTORY_GROUPS]
+ : baseGroups;
+};
export const getResourceMetricsHistoryTarget = (
resource: Resource,
@@ -114,6 +118,7 @@ export const getResourceMetricsHistoryFallbackMetrics = (
netout: finiteMetric(resource.network?.txBytes),
diskread: finiteMetric(resource.diskIO?.readRate),
diskwrite: finiteMetric(resource.diskIO?.writeRate),
+ temperature: finiteMetric(resource.temperature),
gpu: getResourceGPUUtilizationPercent(resource),
gpu_memory: getResourceGPUMemoryPercent(resource),
gpu_temperature: getResourceGPUTemperatureCelsius(resource),
diff --git a/frontend-modern/src/components/Workloads/nodeDrawerModel.ts b/frontend-modern/src/components/Workloads/nodeDrawerModel.ts
index 8c653b4669..4ff93bd31f 100644
--- a/frontend-modern/src/components/Workloads/nodeDrawerModel.ts
+++ b/frontend-modern/src/components/Workloads/nodeDrawerModel.ts
@@ -1,4 +1,5 @@
import type { ResourceType as HistoryResourceType } from '@/api/charts';
+import { HOST_METRICS_HISTORY_GROUPS } from '@/components/shared/hostMetricsHistoryModel';
import type { Node } from '@/types/api';
import { getCpuTemperature } from '@/utils/temperature';
@@ -11,42 +12,8 @@ export interface NodeDrawerHistoryTarget extends GuestDrawerHistoryTarget {
const stripAgentPrefix = (value: string): string =>
value.startsWith('agent:') ? value.slice('agent:'.length) : value;
-export const NODE_DRAWER_HISTORY_GROUPS: GuestDrawerHistoryGroupConfig[] = [
- {
- id: 'utilization',
- label: 'Utilization',
- unit: '%',
- series: [
- { metric: 'cpu', label: 'CPU', unit: '%', color: '#8b5cf6' },
- { metric: 'memory', label: 'Memory', unit: '%', color: '#f59e0b' },
- { metric: 'disk', label: 'Disk', unit: '%', color: '#10b981' },
- ],
- },
- {
- id: 'network',
- label: 'Network I/O',
- unit: 'B/s',
- series: [
- { metric: 'netin', label: 'In', unit: 'B/s', color: '#10b981' },
- { metric: 'netout', label: 'Out', unit: 'B/s', color: '#fb923c' },
- ],
- },
- {
- id: 'disk-io',
- label: 'Disk I/O',
- unit: 'B/s',
- series: [
- { metric: 'diskread', label: 'Read', unit: 'B/s', color: '#3b82f6' },
- { metric: 'diskwrite', label: 'Write', unit: 'B/s', color: '#f59e0b' },
- ],
- },
- {
- id: 'thermals',
- label: 'Thermals',
- unit: 'C',
- series: [{ metric: 'temperature', label: 'CPU', unit: 'C', color: '#ef4444' }],
- },
-];
+export const NODE_DRAWER_HISTORY_GROUPS: GuestDrawerHistoryGroupConfig[] =
+ HOST_METRICS_HISTORY_GROUPS;
export const getNodeDrawerHistoryTarget = (node: Node): NodeDrawerHistoryTarget | null => {
const resourceId = stripAgentPrefix((node.linkedAgentId || node.id || node.name || '').trim());
diff --git a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
index 73c283f677..d404b955b7 100644
--- a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
+++ b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
@@ -45,6 +45,7 @@ import historyChartOverlaySource from '@/components/shared/HistoryChartOverlay.t
import historyChartSource from '@/components/shared/HistoryChart.tsx?raw';
import historyChartModelSource from '@/components/shared/historyChartModel.ts?raw';
import historyChartTooltipSource from '@/components/shared/HistoryChartTooltip.tsx?raw';
+import { HOST_METRICS_HISTORY_GROUPS } from '@/components/shared/hostMetricsHistoryModel';
import horizontalRailVisibilityModelSource from '@/components/shared/horizontalRailVisibilityModel.ts?raw';
import mobileNavBarSource from '@/components/shared/MobileNavBar.tsx?raw';
import mobileNavBarModelSource from '@/components/shared/mobileNavBarModel.ts?raw';
@@ -326,6 +327,20 @@ const frontendIndexCssSource = readFileSync(join(process.cwd(), 'src/index.css')
const readFrontendSource = (path: string) => readFileSync(join(process.cwd(), path), 'utf8');
describe('shared primitive guardrails', () => {
+ it('keeps one canonical agent-host metric history group catalog', () => {
+ expect(HOST_METRICS_HISTORY_GROUPS.map((group) => group.id)).toEqual([
+ 'utilization',
+ 'network',
+ 'disk-io',
+ 'thermals',
+ ]);
+ expect(HOST_METRICS_HISTORY_GROUPS.at(-1)).toMatchObject({
+ label: 'Thermals',
+ unit: 'C',
+ series: [{ metric: 'temperature', label: 'CPU', unit: 'C' }],
+ });
+ });
+
it('limits raw Table composition inside shared primitives to the canonical allowlist', () => {
const sharedRuntimeEntries = Object.entries(sharedSources).filter(
([path]) => !path.endsWith('.test.tsx') && !path.endsWith('.guardrails.test.ts'),
diff --git a/frontend-modern/src/components/shared/hostMetricsHistoryModel.ts b/frontend-modern/src/components/shared/hostMetricsHistoryModel.ts
new file mode 100644
index 0000000000..125df83326
--- /dev/null
+++ b/frontend-modern/src/components/shared/hostMetricsHistoryModel.ts
@@ -0,0 +1,40 @@
+// Agent-backed hosts share one metrics-history vocabulary regardless of
+// whether they are presented as standalone machines, Proxmox nodes, or
+// Docker/Podman hosts. Keep the group definition here so those surfaces cannot
+// silently diverge when host telemetry grows.
+export const HOST_METRICS_HISTORY_GROUPS = [
+ {
+ id: 'utilization',
+ label: 'Utilization',
+ unit: '%',
+ series: [
+ { metric: 'cpu', label: 'CPU', unit: '%', color: '#8b5cf6' },
+ { metric: 'memory', label: 'Memory', unit: '%', color: '#f59e0b' },
+ { metric: 'disk', label: 'Disk', unit: '%', color: '#10b981' },
+ ],
+ },
+ {
+ id: 'network',
+ label: 'Network I/O',
+ unit: 'B/s',
+ series: [
+ { metric: 'netin', label: 'In', unit: 'B/s', color: '#10b981' },
+ { metric: 'netout', label: 'Out', unit: 'B/s', color: '#fb923c' },
+ ],
+ },
+ {
+ id: 'disk-io',
+ label: 'Disk I/O',
+ unit: 'B/s',
+ series: [
+ { metric: 'diskread', label: 'Read', unit: 'B/s', color: '#3b82f6' },
+ { metric: 'diskwrite', label: 'Write', unit: 'B/s', color: '#f59e0b' },
+ ],
+ },
+ {
+ id: 'thermals',
+ label: 'Thermals',
+ unit: 'C',
+ series: [{ metric: 'temperature', label: 'CPU', unit: 'C', color: '#ef4444' }],
+ },
+];
diff --git a/frontend-modern/src/features/docker/dockerHostDrawerModel.ts b/frontend-modern/src/features/docker/dockerHostDrawerModel.ts
index 571fd3ef91..ad0320be35 100644
--- a/frontend-modern/src/features/docker/dockerHostDrawerModel.ts
+++ b/frontend-modern/src/features/docker/dockerHostDrawerModel.ts
@@ -1,4 +1,5 @@
import type { ResourceType as HistoryResourceType } from '@/api/charts';
+import { HOST_METRICS_HISTORY_GROUPS } from '@/components/shared/hostMetricsHistoryModel';
import type { Resource } from '@/types/resource';
import type {
@@ -13,45 +14,10 @@ export interface DockerHostDrawerHistoryTarget extends GuestDrawerHistoryTarget
const stripAgentPrefix = (value: string): string =>
value.startsWith('agent:') ? value.slice('agent:'.length) : value;
-// Docker hosts report the same agent telemetry shape as PVE nodes, so the
-// drawer history backend is the same and the chart groups mirror
-// NODE_DRAWER_HISTORY_GROUPS.
-export const DOCKER_HOST_DRAWER_HISTORY_GROUPS: GuestDrawerHistoryGroupConfig[] = [
- {
- id: 'utilization',
- label: 'Utilization',
- unit: '%',
- series: [
- { metric: 'cpu', label: 'CPU', unit: '%', color: '#8b5cf6' },
- { metric: 'memory', label: 'Memory', unit: '%', color: '#f59e0b' },
- { metric: 'disk', label: 'Disk', unit: '%', color: '#10b981' },
- ],
- },
- {
- id: 'network',
- label: 'Network I/O',
- unit: 'B/s',
- series: [
- { metric: 'netin', label: 'In', unit: 'B/s', color: '#10b981' },
- { metric: 'netout', label: 'Out', unit: 'B/s', color: '#fb923c' },
- ],
- },
- {
- id: 'disk-io',
- label: 'Disk I/O',
- unit: 'B/s',
- series: [
- { metric: 'diskread', label: 'Read', unit: 'B/s', color: '#3b82f6' },
- { metric: 'diskwrite', label: 'Write', unit: 'B/s', color: '#f59e0b' },
- ],
- },
- {
- id: 'thermals',
- label: 'Thermals',
- unit: 'C',
- series: [{ metric: 'temperature', label: 'CPU', unit: 'C', color: '#ef4444' }],
- },
-];
+// Docker hosts report the same agent telemetry shape as PVE nodes and
+// standalone machines, so all host drawers consume one shared group catalog.
+export const DOCKER_HOST_DRAWER_HISTORY_GROUPS: GuestDrawerHistoryGroupConfig[] =
+ HOST_METRICS_HISTORY_GROUPS;
export const getDockerHostDrawerHistoryTarget = (
host: Resource,