Limit adding and sending metrics to the collect-metrics hook.
Merge pull request #766 from tasdomas/add-metrics-limited-to-collect-metrics-hook

Limit adding and sending metrics to the collect-metrics hook.

Now that the hook tool add-metrics has been introduced, its usage will be limited to the collect-metrics hook. At this point the hook is only defined, not actually executed.