Unable to connect to Prometheus server
Hello!
With an on premise Gitlab instance and Kubernetes cluster, after setting up integration (Deploy Tiller, Ingress and prometheus successfully) but prometheus got "Unable to connect to Prometheus server" in the Opérations/Metrics menu.
The documentation says that the Prometheus should be automatically configured by Gitlab. But it seems there is something missing.
Gitlab version : Gitlab-CE 11.4.5
Kubernetes : 1.11.5
Prometheus works well
- I can connect on prometheus dashboard and api using:
dashboard : https://<k8s-master-ip>/api/v1/namespaces/gitlab-managed-apps/services/prometheus-prometheus-server:80/proxy/
api : https://<k8s-master-ip>/api/v1/namespaces/gitlab-managed-apps/services/prometheus-prometheus-server:80/proxy/v1/api/
- Prometheus scrapes data from Gitlab Nginx Ingress, review apps deployed by my pipelines
I can't find nothing in Gitlab logs about it. And I didn't found any clues in Gitlab-CE source code about how to fix it.
Any help or idea will be precious