Hi,

Currently jmx_exporter supports java agent and connecting to rmi/jmx 
server. 

In my case the application is already running with jmx disabled (as in no 
jmx arguments are set) and since it's in production I cannot restart it to 
set required arguments.

I've prepared support for connecting to already running application using 
VirtualMachine::startLocalManagementAgent() 
<https://docs.oracle.com/en/java/javase/17/docs/api/jdk.attach/com/sun/tools/attach/VirtualMachine.html#startLocalManagementAgent()>
 and 
I would like to gather feedback if I should open pull request with that.

Andrzej

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/c4b6233a-5a61-428a-a85b-853805a02a62n%40googlegroups.com.

Reply via email to