Skip to content

feat(collector): add NUMA topology collector - #3785

Draft
baozhuoran wants to merge 1 commit into
prometheus:masterfrom
baozhuoran:numatopology-collector
Draft

feat(collector): add NUMA topology collector#3785
baozhuoran wants to merge 1 commit into
prometheus:masterfrom
baozhuoran:numatopology-collector

Conversation

@baozhuoran

Copy link
Copy Markdown

Summary

Add a Linux NUMA topology collector that exposes per-NUMA-node CPU and memory capacity, along with NUMA-pinned VM usage parsed from libvirt domain XML.

The parser supports libvirt memory units, avoids incorrect attribution for multi-node NUMA sets, and handles both virsh dumpxml and /run/libvirt/qemu/*.xml formats.

Validation

  • go test ./...
  • Linux collector test binary cross-compiled with GOOS=linux go test -c ./collector/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant