简体   繁体   中英

RabbitMQ targets not visible in Prometheus

I have a RabbitMQ cluster deployed on Kubernetes using the kubectl rabbitmq plugin by following this guide ( https://www.rabbitmq.com/kubernetes/operator/quickstart-operator.html )

Prometheus was deployed on same Kubernetes cluster in 'monitoring' namespace using kube-prometheus-stack helm chart ( https://artifacthub.io/packages/helm/prometheus-community/kube-prometheus-stack )

And then I followed https://www.rabbitmq.com/kubernetes/operator/operator-monitoring.html to connect RabbitMQ to Prometheus.

Prometheus & Grafana works fine, but I'm not able to see any entry for RabbitMQ in Targets section of Prometheus UI like it's mentioned here: 在此处输入图像描述

Targets page is only showing Prometheus related stuff. Am I missing something or doing something wrong?

Finally got this entire thing working!

If you are following this guide and got stuck somewhere just like me, just throw it out and take a look at this bash script instead. I don't know if their guide is outdated, but there's a lot of missing or obscured info that's actually present in the above bash script.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM