Collect metrics hook

The hook is fired every five minutes on all running units via a state server worker that updates the metrics request time field on each unit (that change is detected by the uniter watcher).