简体   繁体   English

RabbitMQ 目标在 Prometheus 中不可见

[英]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 )我按照本指南( https://www.rabbitmq.com/kubernetes/operator/quickstart-operator.html使用 kubectl rabbitmq 插件在 Kubernetes 上部署了一个 RabbitMQ 集群

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 ) Prometheus 使用kube-prometheus-stack helm chart ( https://artifacthub.io/packages/helm/prometheus-community/kube-prometheus-stack ) 部署在“monitoring”命名空间中的同一 Kubernetes 集群上

And then I followed https://www.rabbitmq.com/kubernetes/operator/operator-monitoring.html to connect RabbitMQ to Prometheus.然后我按照https://www.rabbitmq.com/kubernetes/operator/operator-monitoring.html将 RabbitMQ 连接到 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: Prometheus & Grafana 工作正常,但我无法在 Prometheus UI 的 Targets 部分看到 RabbitMQ 的任何条目,就像这里提到的那样: 在此处输入图像描述

Targets page is only showing Prometheus related stuff.目标页面仅显示 Prometheus 相关内容。 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.如果您遵循本指南并像我一样被困在某个地方,只需将其扔掉并查看此 bash 脚本即可。 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.我不知道他们的指南是否已过时,但上述 bash 脚本中实际存在很多缺失或模糊的信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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