cloud instance metrics fixes.