Multiple clusters + Prometheus::AdapterService
https://gitlab.com/gitlab-org/gitlab-ee/blob/master/app/services/prometheus/adapter_service.rb could return a random cluster if the project has a multiple clusters available
app/controllers/projects/prometheus/metrics_controller.rb: @prometheus_adapter ||= ::Prometheus::AdapterService.new(project).prometheus_adapter
app/finders/projects/serverless/functions_finder.rb: @prometheus_adapter ||= ::Prometheus::AdapterService.new(project).prometheus_adapter
Would this call the wrong cluster if there are multiple clusters ?
Edited by Thong Kuah