Many owners who want to add a tach to a diesel engine go with Tiny Tach.
It has a sensor which attaches to the outside of a fuel injection line and senses pressure pulses.
Tiny Tach
Owners with a strong electronics background can get a pulse signal from the alternator which can be converted into rpm.
Dave