Ian
Ian

Reputation: 21

Accessing local actuator JMX endpoints using VisualVM

``I am trying to access the JMX actuator endpoints using jvisualvm.

I have done the following

bootRun { jvmArgs = ["-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.local.only=false"] }

JMX Dialog

Error

In particular

Upvotes: 2

Views: 1295

Answers (1)

Tomas Hurka
Tomas Hurka

Reputation: 6981

First you need to install 'VisualVM-MBeans' plugin, since the data are exported as MBeans. Once you have 'VisualVM-MBeans' plugin installed, just open actuator service sample project from VisualVM and switch to 'MBeans' tab. Spring MBeans can be accessed under org.springframework.boot on left tree.

Upvotes: 2

Related Questions