mirror of
https://github.com/henrygd/beszel.git
synced 2026-03-22 05:36:15 +01:00
gate apple gpu collectors + revert readme change
This commit is contained in:
17
agent/gpu.go
17
agent/gpu.go
@@ -708,13 +708,18 @@ func (gm *GPUManager) resolveLegacyCollectorPriority(caps gpuCapabilities) []col
|
|||||||
priorities = append(priorities, collectorSourceIntelGpuTop)
|
priorities = append(priorities, collectorSourceIntelGpuTop)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Apple collectors are currently opt-in only for testing.
|
||||||
|
// Enable them with GPU_COLLECTOR=macmon or GPU_COLLECTOR=powermetrics.
|
||||||
|
// TODO: uncomment below when Apple collectors are confirmed to be working.
|
||||||
|
//
|
||||||
// Prefer macmon on macOS (no sudo). Fall back to powermetrics if present.
|
// Prefer macmon on macOS (no sudo). Fall back to powermetrics if present.
|
||||||
if caps.hasMacmon {
|
// if caps.hasMacmon {
|
||||||
priorities = append(priorities, collectorSourceMacmon)
|
// priorities = append(priorities, collectorSourceMacmon)
|
||||||
} else if caps.hasPowermetrics {
|
// } else if caps.hasPowermetrics {
|
||||||
priorities = append(priorities, collectorSourcePowermetrics)
|
// priorities = append(priorities, collectorSourcePowermetrics)
|
||||||
}
|
// }
|
||||||
// Keep nvtop as a legacy last resort only when no vendor collector exists.
|
|
||||||
|
// Keep nvtop as a last resort only when no vendor collector exists.
|
||||||
if len(priorities) == 0 && caps.hasNvtop {
|
if len(priorities) == 0 && caps.hasNvtop {
|
||||||
priorities = append(priorities, collectorSourceNVTop)
|
priorities = append(priorities, collectorSourceNVTop)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ The [quick start guide](https://beszel.dev/guide/getting-started) and other docu
|
|||||||
- **Network usage** - Host system and containers.
|
- **Network usage** - Host system and containers.
|
||||||
- **Load average** - Host system.
|
- **Load average** - Host system.
|
||||||
- **Temperature** - Host system sensors.
|
- **Temperature** - Host system sensors.
|
||||||
- **GPU usage / power draw** - Nvidia, AMD, Intel, and Apple (macOS via macmon or powermetrics).
|
- **GPU usage / power draw** - Nvidia, AMD, and Intel.
|
||||||
- **Battery** - Host system battery charge.
|
- **Battery** - Host system battery charge.
|
||||||
- **Containers** - Status and metrics of all running Docker / Podman containers.
|
- **Containers** - Status and metrics of all running Docker / Podman containers.
|
||||||
- **S.M.A.R.T.** - Host system disk health (includes eMMC wear/EOL via Linux sysfs when available).
|
- **S.M.A.R.T.** - Host system disk health (includes eMMC wear/EOL via Linux sysfs when available).
|
||||||
|
|||||||
Reference in New Issue
Block a user