Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix exporter for different NUMA nodes #611

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Fix exporter for different NUMA nodes #611

merged 1 commit into from
Oct 16, 2024

Conversation

PlagueCZ
Copy link
Contributor

Currently dpservice-exporter uses /eal/heap_info,0 on all nodes. Some nodes in OSC require the use of /eal/heap_info,1, so this PR uses /eal/heap_list to ask for the right (NUMA node?) number.

I am not that versed in Go, so I simply "copied" the code for interfaces, therefore this code would not work when there are multiple heap_info entries. But for our deployment it should be fine.

Connected to #606

@github-actions github-actions bot added size/S bug Something isn't working labels Sep 27, 2024
@PlagueCZ PlagueCZ marked this pull request as ready for review September 27, 2024 13:54
@PlagueCZ PlagueCZ requested a review from a team as a code owner September 27, 2024 13:54
Copy link
Collaborator

@guvenc guvenc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@guvenc guvenc merged commit 6a7eea5 into main Oct 16, 2024
6 checks passed
@guvenc guvenc deleted the fix/exporter_numa branch October 16, 2024 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants