Updates.
Limit adding and sending metrics to the collect-metrics hook.
Updated dependecies for charm.v3.