For workhorse, allow prometheusListenAddr to be an explicit option in the chart
For collecting metrics from workhorse, we need to pass the option -prometheusListenAddr 0.0.0.0:XXXX
to the workhorse binary, for now it appears the only way we can do this is by setting GITLAB_WORKHORSE_EXTRA_ARGS
. I think like puma, we should surface this in the charts, so it is explicitly enabled.
Related to gitlab-com/gl-infra/delivery#1153 (closed)
note this is for GitLab.com which uses prometheus-operator, which runs outside of the chart. We configure service monitors for scrape endpoints in https://gitlab.com/gitlab-com/gl-infra/k8s-workloads/gitlab-helmfiles/-/blob/master/releases/30-gitlab-monitoring/service-monitors.yaml
Edited by John Jarvis