Commit Graph

11 Commits

Author SHA1 Message Date
Tom Wilkie
fc67ff10e2 Merge pull request #890 from weaveworks/refactor-deepequal
refactoring deepequal to satisfy linter
2016-02-01 06:30:38 -08:00
Tom Wilkie
638c5676cb Add container uptime and restart count to details panel. 2016-01-29 14:31:40 -08:00
Paul Bellamy
00afc203fd refactoring deepequal to satisfy linter 2016-01-27 16:16:22 +00:00
Paul Bellamy
b809f94272 make zero value of LatestMap valid 2016-01-25 17:33:24 +00:00
Paul Bellamy
5751db2a5a Always merge into the larger ps.Map
Because they are commutative and immutable, we can do this!
2016-01-25 15:25:01 +00:00
Tom Wilkie
728572cb51 Lint 2016-01-24 14:06:44 -08:00
Tom Wilkie
f2df789503 Add tests for latest map. 2016-01-24 13:55:48 -08:00
Tom Wilkie
6b56475766 Use ps.Map for Counters and Sets, remove Metadata in favour of Latest.
Also
- Add more complicated report.json for benchmark
- Break up report/topology.go
- Implement our own DeepEqual for ps.Map
2016-01-22 15:10:32 -08:00
Paul Bellamy
8f63d7be7f Metrics plumbing for reports.
- base load graph x-axis on data, not a hardcoded window
- format memory dynamically to scale
- add some tests for the immutability of metrics
- use ps.List for Sample storage, so it is immutable. Have to implement custom marshalling
- adding tests for report.Metrics
- check the ordering of the json samples
- Make the nil value for Metrics valid.
- Sort samples from oldest to newest on the wire.
2015-11-11 17:16:13 +00:00
Tom Wilkie
5e2c165fd8 Review feedback 2015-11-09 11:38:15 +00:00
Tom Wilkie
43d0ce986f Add 'latest' CRDT; use it to store container state.
Also use same technique to merge the controls, returning the latest
set of controls instead of the union.
2015-11-06 18:26:38 +00:00