Looks like there's a bug preventing this from working as expected. I'll send a fix before 2.40.0 is released.
Justin On Tue, Jan 28, 2025 at 8:22 AM Alexander Milovidov <milovid...@gmail.com> wrote: > Hi Vilius, > > I also use these settings and it seems that it does not work. > Artemis 2.38.0, plugin 2.1.0. > > > вт, 28 янв. 2025 г. в 02:11, Vilius Šumskas <vilius.sums...@rivile.lt>: > > > Hi, > > > > I‘ve set up Artemis Prometheus plugin 2.2.0 with ActiveMQ Artemis 2.39.0. > > /metrics endpoint works and returns all default metrics. > > > > Now I’m trying to disable metrics for temporary queues. I’ve followed > > documentation at > > > https://activemq.apache.org/components/artemis/documentation/latest/address-model.html#temporary-queues > > but metrics like the following are still present on Prometheus endpoint: > > > > > artemis_consumer_count{address="5d76f414-dd00-11ef-9b6d-42010a5aa004",broker="activemq-artemis-node-1",queue="5d76f414-dd00-11ef-9b6d-42010a5aa004",} > > 1.0 > > > > Is <enable-metrics> configuration supposed to work with Artemis > Prometheus > > plugin, or am I doing something wrong? > > > > -- > > Vilius > > > > >