-
Notifications
You must be signed in to change notification settings - Fork 63
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
Implement default process & runtime metrics #61
Conversation
Can one of the admins verify this patch? |
3 similar comments
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you so much @MrLotU, some comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff!
also note the interesting work the perfect folks did in https://github.com/PerfectlySoft/Perfect-SysInfo |
heya @MrLotU, is this ready for review? |
Yup. Have a couple of outstanding questions, but I think we're in a good place 😄 |
@tomerd Any update on this? It's been stale for quite a while 😄 |
Hi @MrLotU thank you for your patience with this. @drexin @ktoso and myself have been debating how to best integrate this work - if it belongs as part of the WDYT about the approach? a good next step could be to extract this to a separate module within |
No problem at all. I can see your points for moving this into a separate project and agree this would be a great way to move forward. I will hopefully have some time over the coming weekend to get a first draft up as a new module within |
Took me a bit longer to find the time, but I've migrated all of SystemMetrics to a new module. The only change I made to the CoreMetrics module is making the lock public and making All other functionality & API stays the same |
thanks @MrLotU, how about instead of making the |
That'd be a workable solution 👍 Will implement |
Awesome work @MrLotU -- giving it a final review round then and let's find it a home... :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me!
Discussed with Tom that maybe we can quickly spin out an swift-metrics-extras
to land this in. Other than where to merge it into this looks good, thanks a lot for the prolonged effort @MrLotU !
Thank you very much @MrLotU! This is now released as part of the new swift metrics extras package! 🎉 🎉 🎉 Closing the PR here then, Thanks again! |
thank you @MrLotU |
Fixes #53
Currently only implemented on Linux (still figuring out how to handle this on MacOS), and on a 2 second loop.
Points for discussion: