periodic sampling of cpu metric broken