Check both ends of the battery cables and charge state of the battery.
First thing to check is the battery. An approximate check can be made with a voltmeter. Assuming 'room temperature' 12.8 Volts would be good. Below 12, don't bother with more tests - recharge it. Further test would be to turn on the lights, it should not drop much. Lights off, cranking, it should stay above 11 V if full charged.
If there is some problem in a circuit:
The Headlights are wired direct from the main splice. No key needed.
The ammeter is wired between the battery and the main spice. It too will work without the key on.
The other instruments will get power when the key is on.