GitLab Rails metrics stub returned 404 under relative URL; fixed in omnibus-gitlab
When GitLab is installed under a relative URL such as /gitlab, the NGINX rails-metrics status location returned 404 because it proxied to a path Workhorse would not forward. The issue, omnibus-gitlab#10221, was reported by Jason Plum. The fix in merge request omnibus-gitlab!10081 passes the existing Prometheus.rails_metrics_path helper into the NGINX template so the stub matches the prefixed path the Prometheus scrape job already uses. The default install path is unchanged, and ChefSpec now covers both the default and prefixed configurations. The merge request was merged on 23 November 2026.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in