[英]ActiveMQ "Classic" and ActiveMQ Artemis integration with Prometheus
In my existing projects I'm using prometheus.io/path
, prometheus.io/port
and prometheus.io/scrape
annotations in deployment.yml
to scrape metrics from the pods.在我现有的项目中,我在
deployment.yml
中使用prometheus.io/path
、 prometheus.io/port
和prometheus.io/scrape
注释来从 pod 中抓取指标。
Now I'm trying to integrate Prometheus with ActiveMQ "Classic" and ActiveMQ Artemis, and I want to understand why do I need to use this plugin to fetch these metrics.现在我正在尝试将 Prometheus 与 ActiveMQ“Classic”和 ActiveMQ Artemis 集成,我想了解为什么我需要使用 这个插件来获取这些指标。
Wouldn't using the same annotations in Artemis' deployment.yml
do the work?不会在 Artemis 的
deployment.yml
中使用相同的注释来完成这项工作吗?
Unless there's some logic behind those annotations which configures the broker to expose metrics then you'll need to do that configuration yourself.除非这些注释背后有一些逻辑可以配置代理以公开指标,否则您需要自己进行该配置。 For ActiveMQ Artemis the plugin you linked is the recommended approach.
对于 ActiveMQ Artemis, 您链接的插件是推荐的方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.