Paul Bellamy
9820fd2b70
Merge commit '5dcd53e24cffe6b629d5f21a021d4d13599db48d'
2015-11-12 17:07:00 +00:00
Paul Bellamy
5dcd53e24c
fix bug in metrics first/last calculation if second arg was zero
2015-11-12 17:06:40 +00:00
Paul Bellamy
9176699941
omit metric first/last timestamps if they are zero
2015-11-12 17:06:40 +00:00
Tom Wilkie
2ffb697467
Merge pull request #658 from weaveworks/report-generation
...
Move weave ps calls to a background goroutine, instruments probe runtime.
2015-11-12 17:06:01 +00:00
Tom Wilkie
3e1be5cbfe
Move calls to weave ps to a background goroutine.
2015-11-12 17:02:28 +00:00
Tom Wilkie
9142325d54
Instruments probe runtime to find slow reporter.
2015-11-12 17:01:52 +00:00
Paul Bellamy
8776d8cd41
Merge pull request #657 from weaveworks/Makefile
...
Update makefile for missing dependancy.
2015-11-12 16:09:08 +00:00
Tom Wilkie
4e3ab2d45b
Update makefile.
2015-11-12 14:54:10 +00:00
Paul Bellamy
0378e568ff
Merge pull request #651 from weaveworks/testing
...
Merge some steps in vain attempt to speed up runs.
2015-11-12 14:37:26 +00:00
David Kaltschmidt
0c0ec79668
Lint sparkline js
2015-11-12 12:55:20 +01:00
David
7bac6d8495
Merge pull request #649 from weaveworks/node-upgrade
...
Upgrade JS node env and dependencies
2015-11-12 12:14:34 +01:00
Paul Bellamy
5c606c495b
Merge pull request #622 from weaveworks/timeseries
...
Sparklines
2015-11-12 09:57:48 +00:00
Tom Wilkie
abc93e2d59
Merge some steps in vain attemp to speed up runs.
2015-11-11 18:47:05 +00:00
David Kaltschmidt
2eb80d79bc
object-assign no longer needed under babel 6
2015-11-11 19:35:21 +01:00
David Kaltschmidt
c458b29034
eslintignore was removed
2015-11-11 19:15:49 +01:00
David Kaltschmidt
7d5cc11d7e
Enable linter for js test files
2015-11-11 19:09:40 +01:00
David Kaltschmidt
6cb825f6f3
Disable coverage on jest, it's broken
2015-11-11 18:58:56 +01:00
David Kaltschmidt
59064e8a2d
Upgrade to Babel 6
2015-11-11 18:42:48 +01:00
Tom Wilkie
95bca02e4d
make static
2015-11-11 17:24:35 +00:00
Paul Bellamy
510870e2f9
Add Sparklines to the UI based on Metrics.
...
- basic sparklines rendering for load
- Graphs are normalized so they all render on the y-axis.
- Time-axis is fixed to 15-seconds, so that data fills in correctly when data is insufficient
- Move load scalar behind sparkline
- add title to sparklines, showing timespan, samples, etc
2015-11-11 17:24:29 +00:00
Paul Bellamy
a074278cca
Add metrics for docker container cpu and memory, and host load.
2015-11-11 17:24:19 +00:00
David Kaltschmidt
1019e45940
Upgrade node version to v4.2.2, and jest to 0.7.1
...
* the jest update will allow for jest --watch to keep jest running
2015-11-11 18:24:09 +01: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
David Kaltschmidt
e2553fd3fc
Upgrade optional dev tools
2015-11-11 17:40:09 +01:00
David Kaltschmidt
c09ca3f6e3
Upgraded dev dependencies
...
cant do Babel 6 yet, while being on node 0.10
2015-11-11 17:36:31 +01:00
David Kaltschmidt
b56fd96a35
Updated app dependencies
...
* reduces bundle size by another 20%
2015-11-11 16:11:28 +01:00
David Kaltschmidt
acbf8a665d
Upgrade eslint, react and react-motion
...
* get rid of material-ui
* reduced bundle size by 20%
2015-11-11 15:51:27 +01:00
David Kaltschmidt
a74178b722
Ignore prog/probe/probe
2015-11-11 15:27:17 +01:00
Tom Wilkie
57e2046d1a
Merge pull request #640 from weaveworks/629-container-state-push
...
Push mini-reports when container states changes
2015-11-11 13:32:38 +00:00
Tom Wilkie
c610bf0ea1
Review feedback.
2015-11-11 11:42:28 +00:00
Tom Wilkie
47ef1e02b3
Shortcut app -> UI ws push for certain reports.
2015-11-10 13:46:57 +00:00
Tom Wilkie
92b24793f1
Push mini-reports when container's state changes.
2015-11-10 13:46:57 +00:00
Tom Wilkie
f274c5080a
Merge pull request #644 from weaveworks/coverage
...
Report coverage correctly
2015-11-10 13:45:24 +00:00
Tom Wilkie
8d1307764f
Update to deal with weave/499d6312b7e6159ab94c116127b9c020fe109118
2015-11-10 13:17:37 +00:00
Tom Wilkie
40135dc284
Merge commit 'c0f3a59726ecb6842632fee77c6a28858f617270' into coverage
2015-11-10 12:08:03 +00:00
Tom Wilkie
c0f3a59726
Squashed 'tools/' changes from 28c6aa0..1fc4d66
...
1fc4d66 Make test work on mac.
REVERT: 28c6aa0 Make prefix on runner schedule optional.
git-subtree-dir: tools
git-subtree-split: 1fc4d66fac
2015-11-10 12:08:03 +00:00
Tom Wilkie
5c717978d9
Run coverage reporting in post test stage, as teardown is run after the other shard has gone away.
2015-11-10 12:06:57 +00:00
David
2dcc085dc8
Merge pull request #642 from weaveworks/controls-bar
...
Control bar below node details header
2015-11-09 18:22:20 +01:00
David Kaltschmidt
17f31cdb32
Control bar below node details header
2015-11-09 17:48:36 +01:00
Tom Wilkie
89c4eb17ae
Merge pull request #633 from weaveworks/refactor-probe-main
...
Refactoring of probe main
2015-11-09 16:47:19 +00:00
Tom Wilkie
a89c0b9b88
Make an empty StringSet nil.
2015-11-09 16:25:49 +00:00
Paul Bellamy
92ec7d9397
Move probe main.go to prog/probe/, break out a probe struct with appropriate responsibilities.
...
Also adds test for probe 'engine'
2015-11-09 16:25:28 +00:00
Tom Wilkie
8dbc586866
Merge pull request #628 from weaveworks/latest-map
...
Add 'latest' CRDT, make UI update quicker.
2015-11-09 16:10:28 +00:00
Alvaro
4f21919858
Merge pull request #639 from weaveworks/scope-504-2
...
Resolve to a group of names
2015-11-09 15:29:28 +01:00
Alvaro Saurin
82d9e35da6
Use the "name" set for the connection details
2015-11-09 13:45:02 +01:00
Alvaro Saurin
bc972a52ab
Resolve to a group of names (instead of taking only the first one)
2015-11-09 13:45:02 +01:00
David Kaltschmidt
5cfa193b8d
Comment out console.log
2015-11-09 13:00:44 +01: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
Tom Wilkie
f7c75f9cd3
Make static
2015-11-06 18:25:41 +00:00