Install rbspy via chef
We currently do not have rbspy installed on our production hosts. It is frequently installed manually in an ad-hoc manner during incidents. It would be great to have it installed on all ruby hosts by default.
rbspy is a sampling CPU profiler for ruby that works by inspecting the process from the outside. It is safe for production use and an essential tool for diagnosing CPU saturation and shifts in CPU demand (be it workload or code changes).
It produces flamegraphs highlighting potential hotspots in CPU activity.
We'll want to install this on the web-
, api-
, and git-
hosts.
See also https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/6940#note_290568312.
Edited by Igor