ManageIQ / manageiq

ManageIQ Open-Source Management Platform
https://manageiq.org
Apache License 2.0
1.34k stars 897 forks source link

[RFE] Enable Puma Control Server #19826

Open dmetzger57 opened 4 years ago

dmetzger57 commented 4 years ago

It would be great to pull more useful metrics off the CloudForms puma environment. This can be done using sensu if the puma control server is available.

https://github.com/puma/puma/tree/a3136985887d44c79e623b1408a41779b71d8b23#controlstatus-server

Stats and GC Stats are available: https://github.com/puma/puma/blob/master/lib/puma/app/status.rb

We are using Sensu to monitor our CloudForms deployment ~250 appliances today. I wanted to pull more information off the Puma servers themselves to get details such as Ruby GC performance etc.

I am pulling items such as the MIQ Queue size as well as DB connections total, active, waiting.

We were going to deploy the Sensu Puma plugin which pulls all the metrics and stores into Graphite/InfluxDB: https://github.com/sensu-plugins/sensu-plugins-puma.

There is also a metrics plugin for Apache: https://github.com/sensu-plugins/sensu-plugins-apache that uses mod_status.

Adding both the puma socket and mod_status would provide any standards-complient tool such as sensu/collectd/etc to pull data from the appliance.

It would also support using this data internally to have this type of dashboard ultimately be part of the product.

dmetzger57 commented 4 years ago

Associated BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1562543

miq-bot commented 4 years ago

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the traige process documentation.