On 26/02/2021 12:15, Sdh26 wrote:
Hi ,

We are using Promethues to monitor our AKS cluster but the Promethues is setup outside of the cluster in a stand alone VM and using kube-state-metrics to monitor the AKS cluster health , events etc. Now , we have exposed the metrics to a URL through Ingress and the load balancer. Can someone help to understand - how we can use the metrics published on the URL to be scraped by  the promethues  and how we should set the targets and relabel configs in promethues.yml ?

If you already have it that the metrics are accessible from outside the cluster you just need to add a job to your prometheus.yaml with the target URL/IP address (probably using the static_sd option) of the load balancer. You don't need any relabeling configuration generally.

--
Stuart Clark

--
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/4f5b8d67-9f29-bfe0-fde2-e6bce75682bc%40Jahingo.com.

Reply via email to