Skip to content

Migrate gitlab-exporter to lightweight Rack server

In &5035 we identified gitlab-exporter to consume a lot of memory considering the small amount of work it performs. We believe this is largely due to us running this service on Puma. We should consider moving this service to a more lightweight Rack server such as WEBRick.

Some considerations:

  • gitlab-exporter is a Sinatra app
  • We already serve metrics for .com from a Puma master via an embedded WEBRick
  • We should verify how many requests we currently serve from gitlab-exporter's metrics endpoints
  • We need to find out whether this change needs to be made in gitlab-exporter itself or in the deployment infra such as Omnibus or Helm

TODO:

Edited by Matthias Käppler