With diesel engines it is not that a rod fails but rather the injectors or the head gasket or some other critical part. There are certain Ford engines that I would avoid regardless of the mileage and with certain GM Duramax models (5 different ones over the past 11 years) there are known problems and if you get one that has had the problem fixed at the seller's expense then they can be a good buy.
I would go more by types of problems common to a specific model year and make and then buy a truck from the original owner and verify the work that has been done on the truck. I would put more stock on a engine that has had a new head gasket or new set of injectors installed over the same engine in a truck with fewer miles on the odometer but where these repairs have not been done.
Repairs on diesel engines can cost a magnitude more than those usually needed on gas engines and it pays to be wary.