Skip to content

Collect host resource metrics with comparable CPU samples and a fixed Docker target - #1023

Draft
Kuddev wants to merge 7 commits into
mainfrom
review/nonui-resource-559-20261117
Draft

Kuddev wants to merge 7 commits into
mainfrom
review/nonui-resource-559-20261117

Conversation

@Kuddev

@Kuddev Kuddev commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Integrates @baishiyaya-cmd’s host sampler from #559. The collector reports CPU and I/O rates only after it has comparable native observations of the same PID and start time. Requests inside the provider’s minimum interval retain the process inventory without reporting a fresh rate. Cancelling an in-flight device query now discards the sample, and Docker inventory remains tied to the selected context throughout a collection.

On the integrated source 4cac5843, the architecture, platform budget (459/459) and whitespace checks passed. Linux acceptance passed all 15 collector cases, including cancellation during a child read. A newly observed sleeping process had no CPU value on its first sample and a measured zero on its next; an early sample returned no new CPU values. Restoring only the previous collector made both CPU regressions fail. A real Docker CLI switched between two local test endpoints mid-sample: only the first received the inventory request. Physical NVIDIA hardware was not exercised.

@github-actions github-actions Bot added the size/L 501–1500 行 label Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L 501–1500 行

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants