简体   繁体   English

Rabbitmq Prometheus Exporter vs Prometheus Plugin for RabbitMQ

[英]Rabbitmq Prometheus Exporter vs Prometheus Plugin for RabbitMQ

We are currently trying to use Prometheus/Grafana in order to monitor several RabbitMQ instances deployed on multiple Docker containers.我们目前正在尝试使用 Prometheus/Grafana 来监控部署在多个 Docker 容器上的多个 RabbitMQ 实例。

My question is quite simple, what's the difference between using the Rabbitmq Prometheus Exporter vs Prometheus Plugin for RabbitMQ?我的问题很简单,使用 Rabbitmq Prometheus Exporter vs Prometheus Plugin for RabbitMQ 有什么区别?

  • Does the exporter scrape different/more information compared to the Plugin?与插件相比,出口商是否抓取了不同/更多的信息?
  • Is there an overhead when using the Pluging compared to the exporter?与导出器相比,使用 Pluging 是否有开销?
  • Is it just a question of RabbiMQ's version?只是RabbiMQ的版本问题吗?
  • What is the added value from using one of the two options?使用这两个选项之一的附加值是什么?

So basically what approach is better or can they be used in combination.所以基本上什么方法更好,或者它们可以结合使用。

I have not trued out the plugin, but as far as I read it exports the same metrics as the exporter.我还没有验证插件,但据我阅读,它导出的指标与导出器相同。 The plugin has the advantage that it does not add complexity:该插件的优点是它不会增加复杂性:

  • You need to host the rabbit exporter (which is not much effort, but still you need to make sure it runs, is updated from time to time,...)您需要托管 rabbit exporter(这并不费力,但您仍然需要确保它运行,不时更新,...)

  • You need an account for the rabbit exporter that can query the metrics which is a security issue.您需要一个可以查询安全问题指标的 rabbit exporter 帐户。 Your credentials might get stolen or the exporter might get compromised and and attacker would have access to your rabbit cluster.您的凭据可能会被盗,或者出口商可能会受到威胁,并且攻击者将有权访问您的兔子集群。

  • Since there might be network between your rabbit cluster and the Rabbit exporter there might be the situation the exporter cannot reach the cluster while the plugin could still produce the metrics.由于您的 rabbit 集群和 Rabbit 导出器之间可能存在网络,因此导出器可能无法到达集群,而插件仍然可以生成指标。

These are not big issues, we use the exporter for years now and never had an issue with it, but still, if we would start from scratch, we would give the plugin a try.这些都不是什么大问题,我们使用导出器已经很多年了,从来没有遇到过问题,但是,如果我们从头开始,我们会试试这个插件。

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

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