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 incorrect process metric documentation. #65

Closed
wants to merge 1 commit into from

Conversation

oseiberts11
Copy link

Fix an untruth.

Signed-off-by: O Seibert Syseleven [email protected]

Fix an untruth.

Signed-off-by: O Seibert Syseleven <[email protected]>
@SuperQ
Copy link
Contributor

SuperQ commented Nov 1, 2022

No, I'm pretty sure we expose metrics that summarize the whole unit, aka cgroup.

@SuperQ
Copy link
Contributor

SuperQ commented Nov 1, 2022

Oh, I see, we should probably fix that whole collector to not use PID stats at all. That's totally the wrong thing to export for systemd units.

@SuperQ SuperQ changed the title Fix an untruth Fix incorrect process metric documentation. Nov 1, 2022
@oseiberts11
Copy link
Author

Exactly. There is PR #10 which is supposed to fix this in a better way, but it has been stalled for two years. In the mean time, it has become unmergable. The latest comment "If you're still interested in working on this, please rebase this change against the latest commits." isn't terribly helpful. I gave it a try, but not being familiar with this code base and its other changes in the mean time, I didn't get to the end. There were simply too many merge conflicts.

@oseiberts11
Copy link
Author

I spent several hours on #66 and after trying it out, it seems it still doesn't actually fix the virtual memory stats that are incorrect here. Or am I missing something?

@SuperQ SuperQ closed this Dec 12, 2022
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.

2 participants