kubernetesactivemq-classicprometheusactivemq-artemis

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.

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.

Wouldn't using the same annotations in Artemis' deployment.yml do the work?


Solution

  • 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.