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
Utilize systemd-notify to add status details #2604
Comments
@dgoetz Is this still something you'd find useful? It seems that Foreman added the status plugin, does that solve the issue for you? |
@jacobherrington What you linked isn't very useful. With support for |
This comment reminded me that at some point I did play with it. I've submitted it as #2833 but I don't know if I have time to finish it. Anyone should feel free to take it as a start and complete it. |
@ekohl Thanks for letting me know! I'll check it out, and maybe complete it in March. We'll see. ;) |
Thanks for sharing where you got to @ekohl ! |
This comment was marked as spam.
This comment was marked as spam.
Anyone here that can take a look at #3006? I'm not using Puma with systemd myself |
I monkey-patched my Foreman installation and it works. I now have a nice additional line showing the Status.
@ekohl @ares @ehelms (as you all were part of the initial discussion) anything else that should be added for it being even more helpful? |
Looks great from my perspective, if you are happy with it I think it's safe to close it out. |
It looks like the worker status gets truncated there, so I wonder if it should somehow be made shorter. On the other hand, that's also something that could be iterated on. |
Truncation happens from systemd not breaking the line at maximum size of my console instead you can scroll sideways, so all information is present even if you do not see it on the first look. |
Closing out for now, please open new issues if you'd like something added on. |
Is your feature request related to a problem? Please describe.
I come from a discussion in the Foreman community where we want to get the status for debugging and scaling the system. In the past the puma-systemd plugin was used and now puma-status, but having this directly in puma without an additional plugin and configuration would be a great feature for us and our users.
Describe the solution you'd like
We primarily need the number and state of the workers like the systemd plugin had, but the resource usage of the status plugin could also be helpful. Just think about would a sysadmin perhaps wants to see and can influence and provide this information if gathering it is doable without cause performance issues.
Describe alternatives you've considered
We add the status plugin and describe how to use it at the moment or perhaps add some graphical interface for monitoring it into the Foreman webinterface in the future.
Additional context
While the considerations are coming from how we use or plan to use it in the Foreman project, I think also other projects and users can benefit from it.
The text was updated successfully, but these errors were encountered: