Shaswat Lenka
Shaswat Lenka

Reputation: 614

Kiali is unable to connect to Prometheus deployed in another namespace

I have Kiali dashboard installed in the istio-system namespace. Then in the kiali configMap in the istio-system namespace, I have added the dns for prometheus service (e.g. http://custom-prometheus.monitoring.svc.cluster.local:9090).

external_services:
  prometheus
    url: "http://custom-prometheus.monitoring.svc.cluster.local:9090"

I am getting this error from the Kiali dashboard UI:

Could not fetch health: Error while fetching app health: client_error: client error: 404

On checking the kiali logs, also, I see the following error:

ERR Failed to fetch Prometheus configuration: client_error: client error: 404
ERR Failed to fetch Prometheus flags: client_error: client error: 404

Note:

Upvotes: 0

Views: 782

Answers (0)

Related Questions