Added some performance counters to heartbeat.