juju/juju — pull request #952 by tasdomas (2014-10-23 13:45:13+00:00)
Title: Metrics validation uniter

With the introduction of the metrics.yaml file support in the charm package, the add-metric hook tool is being refactored to delegate metrics validation to the charm package (based on the declarations in the metrics.yaml file). In addition to metric-type dependant validation, charm authors are also restricted from using the add-metric hook tool to specify values for built-in metrics.