diff --git a/nucleus/admin/monitor/src/main/java/org/glassfish/admin/monitor/MonitoringBootstrap.java b/nucleus/admin/monitor/src/main/java/org/glassfish/admin/monitor/MonitoringBootstrap.java index d853d263404..250fc8e55c0 100644 --- a/nucleus/admin/monitor/src/main/java/org/glassfish/admin/monitor/MonitoringBootstrap.java +++ b/nucleus/admin/monitor/src/main/java/org/glassfish/admin/monitor/MonitoringBootstrap.java @@ -37,7 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. */ -// Portions Copyright [2018] Payara Foundation and/or affiliates +// Portions Copyright [2018-2019] Payara Foundation and/or affiliates package org.glassfish.admin.monitor; @@ -215,6 +215,9 @@ public void event(Event event) { if (LOGGER.isLoggable(Level.FINE)) LOGGER.log(Level.FINE, "Discovering the XML ProbeProviders from lib/monitor"); discoverXMLProviders(); + if (spmd != null) { + spmd.updateAllStatsProviders(); + } } }