Repository navigation
Show machine load on the Environments Map, with whole-machine history and device host headroom #41336
jieyuexing
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Note
Drafted by Gemini 4 Neon and Claude Opus 5.5 in T3 Code; reviewed and posted by @jieyuexing
Problem
With agents spread across several connected environments, two views answer "is this machine OK?" and neither answers it fully:
EnvironmentsMap,FleetDetails) shows machines, routes and links, but no load. A saturated or nearly full host looks the same as an idle one on the map.ResourceTelemetryDiagnostics) shows T3's own process tree and its history, one environment at a time.In-flight work covers the whole-machine snapshot:
t3_environment_read.Even with both merged, these gaps remain:
EnvironmentsMap.tsxorEnvironmentsMapDetails.tsx, so picking a machine from the map still means leaving it and switching scope in Diagnostics.5m/15m/30m/1h) for T3 processes only, so a spike caused by something outside T3 leaves no trace there. There is also no way to pause the live view while you read it.native/resource-monitoralready depends onsysinfo 0.39.3, whosesysinfo::Networksprovides this without a new crate.DeviceSourcesSettings) anddevice_listdon't say whether that host has room for another one. Today you find out when a boot fails with thedisk_spacereason.Proposal
Build on
server.getHostResourcesand #36693'shostSystemcommand, and keep the rule indocs/internals/resource-telemetry.mdthat the monitor samples on a timer only while a client is subscribed:FleetDetails, with a button that opens Diagnostics scoped to that environment. Nothing polls while the map is closed or the toggle is off.5m/15m/30m/1hselector, kept in a bounded in-memory buffer int3-resource-monitor(no metrics database). Like the process history today, it covers only time when a client was subscribed.device_listso agents can pick another host before a boot fails.Each part stands alone and can be dropped or reordered once maintainers pick a direction.
Non-goals
Related
Screenshots
Before and after from a working prototype in my build, across
Settings -> Environments,Settings -> Diagnostics, andSettings -> Devices: turning onShow loadoverlays live CPU and available memory on the map node and inspector card, links to the whole-machine history and memory breakdown in Diagnostics, and surfaces free RAM and disk headroom on device sources.Show loadoff)Show loadon + inspector headroom)Settings -> Diagnosticswhole-machine card)Settings -> Devicessimulator host headroom)All reactions