rh-messaging / artemis-prometheus-metrics-plugin

Apache License 2.0
22 stars 20 forks source link

Metrics for queues #4

Closed padapl closed 2 years ago

padapl commented 3 years ago

Hello,

Is there any way to enable/disable metrics on queue level?

I have made some experiments with address-settings.xml. It seems to work on

level only:

_<address-setting match="someTopic">
    <enable-metrics>true</enable-metrics>
</address-setting>_

It does not work for:

_<address-setting match="someQueue1">
    <enable-metrics>true</enable-metrics>
</address-setting>_

My Artemis EB implementation has structure:

_<address name="someTopic">
    <multicast>
        <queue name="someQueue1"/>
        <queue name="someQueue2"/>
        <queue name="someQueue3"/>
    </multicast>
</address>_

Regards, Pawel

brusdev commented 2 years ago

The ArtemisPrometheusMetricsPlugin just exposes metrics implemented by ActiveMQ Artemis.

You could send an email to users@activemq.apache.org to get more info