Metrics collection

This script will collect a DC's total desired and actual when run. 

**TODO**:
- [x] Collect pending also
- [x] Tests
- [ ] Dump the data to Cloud metrics
It's a bit unfortunate that this does string trepanation instead of having an URI object that knows how to be serialized to a string, but there appears to be more tooling that does this already.