Hopefully a coincidental faulure of the bulb, but ........
The odometer is illuminated when the ignition is on, but then reduced/dimable when sidelights are on. I think this switching is done via the cluster processor. So a bit of electronics might be involved.
First thing though, change & check bulb.
Martin