Once upgrade JavaEE cartridge to version 5.8.0 on the FMS. It accept connection from JavaEE agent version 5.7.x. However, JVM heap usage is not showing for JavaEE agent version 5.7.x.
JVM heap usage (BytesUsed and CurrentSize) were derived metrics in 5.7.x agent. For JavaEE agents version 5.8.x, they are collected directly by the agent.
It is recommended to upgrade JavaEE agents to 5.8.0 at the earliest time.
Otherwise you may create these derived metrics with scope for only those jvms that are still at 5.7.4
Delete these manual created derived metric when agents are upgraded to 5.8.0. Otherwise there would be conflicts for these metrics.