You can enable remote JMX connectivity by modifying management.xml as
described in this documentation [1]. Of course you'd need to expose
whatever port you're using for remote JMX via Docker.

The thing with port 9404 does appear to be a bug. These days we recommend
folks use the pluggable broker metrics [2] (for which there is a Prometheus
plugin - accessible via the web port 8161).


Justin

[1]
https://activemq.apache.org/components/artemis/documentation/latest/management.html#remote-jmx-access
[2]
https://activemq.apache.org/components/artemis/documentation/latest/metrics.html#metrics

On Tue, Jan 14, 2025 at 3:37 AM Vilius Šumskas <vilius.sums...@rivile.lt>
wrote:

> Hi,
>
> I‘m trying to configure JMX remoting in official Artemis Docker image. I
> see that Docker image has port 9404 exposed which indicates JMX Prometheus
> exporter, but I cannot find any information how to activate it or even the
> exporter JAR in the image itself. Is this a bug left from
> https://github.com/vromero/activemq-artemis-docker/blob/master/README.md#57-prometheus-metrics
> or I’m missing something?
>
> --
>     Vilius
>
>

Reply via email to