Hook tool for sending metrics from charm.

A hook tool metric-add is made available to charm authors for sending metrics to state.
So that means no test is calling `UnitName` to verify its behaviour