<p>In my existing projects I'm using <code>prometheus.io/path</code>, <code>prometheus.io/port</code> and <code>prometheus.io/scrape</code> annotations in <code>deployment.yml</code> to scrape metrics from the pods.</p>
<p>Now I'm trying to integrate Prometheus with ActiveMQ &quot;Classic&quot; and ActiveMQ Artemis, and I want to understand why do I need to use <a href="https://github.com/jbertram/artemis-prometheus-metrics-plugin" rel="nofollow noreferrer">this plugin</a> to fetch these metrics.</p>
<p>Wouldn't using the same annotations in Artemis' <code>deployment.yml</code> do the work?</p>

tushar
<p>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 <a href="https://github.com/jbertram/artemis-prometheus-metrics-plugin" rel="nofollow noreferrer">plugin you linked</a> is the recommended approach.</p>
