3 Commits

Author SHA1 Message Date
Bryan Boreham
c03aeb5d43 Move Counters into Latest
The only place Counters are used is in rendering, for the number of
nodes under a topology, so the overhead of holding a unique data
structure in every Node is unwarranted.

Counters are not set in the probe, so we don't need any
backwards-compatibility in report decoding. Similarly they are not set
until after all nodes are merged, so we don't need that logic.
2020-03-10 12:30:05 +00:00
Bryan Boreham
635cea0b56 backwards-compatibility: unmarshall latestControls data from older probes
With a test.
2019-11-26 11:31:44 +00:00
Bryan Boreham
eb381f167d refactor: move Report backwards-compatibility code into its own file
Makes report.go a little easier to read.
2019-11-26 11:31:44 +00:00