简体   繁体   English

ActiveMQ“经典”和 ActiveMQ Artemis 与 Prometheus 的集成

[英]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/pathprometheus.io/portprometheus.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.

相关问题 ActiveMQ Artemis:内部和外部 IP 地址 - ActiveMQ Artemis: Internal and external IP addresses 如何在 Kubernetes 中使用 Apache ActiveMQ Artemis - How to use Apache ActiveMQ Artemis in Kubernetes ActiveMQ Artemis Kubernetes 多代理设置 - ActiveMQ Artemis Kubernetes multi broker setup ActiveMQ Artemis 消费者在崩溃后没有重新连接到同一个集群节点 - ActiveMQ Artemis consumer does not reconnect to the same cluster node after crash ActiveMQ Artemis 集群在一个实例崩溃后不会重新分发消息 - ActiveMQ Artemis cluster does not redistribute messages after one instance crash 如果 ActiveMQ Artemis 集群是 Kubernetes StatefulSet,HA 真的有用吗? - Is HA really useful if ActiveMQ Artemis cluster is a Kubernetes StatefulSet? 如何在 ActiveMQ Artemis 中使用发现组形成 3 个节点的对称集群? - How to form a symmetric cluster of 3 nodes with discovery-groups in ActiveMQ Artemis? 如果 ActiveMQ Artemis 集群在 Kubernetes 环境中运行,备份节点是否需要 ON_DEMAND 负载平衡才能运行? - If ActiveMQ Artemis cluster is running in a Kubernetes environment, is the ON_DEMAND load-balancing required for a backup-node to operate? ActiveMQ 代理 url 上 Kubernetes - ActiveMQ Broker url on Kubernetes 具有共享存储的Kuberenetes上的ActiveMQ - ActiveMQ on Kuberenetes with Shared storage
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM