this is a note to document what I understand about this https://github.com/javaee/glassfish/issues/13277.

after discussion with Mahesh...

the monitoring code is reading data from lib/install/applications during start-up to register probes for connectors, etc.

most probes are in modules (which get registered as the module is started)

there are a couple ways to eliminate the scan..

1. change the connectors to self register as they are deployed OR
2. create a deployer that registers the probeproviders similar to the module startup code.

method 1 is a hack, since it depends on developers to remember to do something as they are coding that is probably orthogonal the problem that they are trying to solve.

method two appears to be easier.