Some of the metric functions look a little interesting. https://github.com/cloudfoundry-community/stackdriver-tools/blob/master/src/stackdriver-nozzle/messages/metric.go#L55 metric.go has no tests. It should have some. metric.go: might be better to have a mapping from envelope type to stackdriver metrics type. https://github.com/cloudfoundry-community/stackdriver-tools/blob/master/src/stackdriver-nozzle/nozzle/unit_parser.go Maybe there is a library which could do part of this?
Some of the metric functions look a little interesting.
https://github.com/cloudfoundry-community/stackdriver-tools/blob/master/src/stackdriver-nozzle/messages/metric.go#L55
metric.go has no tests. It should have some.
metric.go: might be better to have a mapping from envelope type to stackdriver metrics type.
https://github.com/cloudfoundry-community/stackdriver-tools/blob/master/src/stackdriver-nozzle/nozzle/unit_parser.go
Maybe there is a library which could do part of this?