Shalini reported this issue while investigating
Monitoring data of connection-pools is not available for application scoped resources.
This seems to be due to the fact that "resources" configuration is not available during deployment.
<resources> is available only after deployment of its application.
Fix is to use the cached resources configuration for reference while registering the pool for monitoring