Commit Graph

1024 Commits

Author SHA1 Message Date
Tom Wilkie
78c86372c8 Maintain container-by-pid index correctly. 2015-11-16 10:44:30 +00:00
Tom Wilkie
23be0d9aa9 Don't tag processes with stopped container ids. 2015-11-16 10:44:30 +00:00
Tom Wilkie
310b2c8d07 make static 2015-11-16 10:44:30 +00:00
Paul Bellamy
80b9adf385 Merge branch 'master' of github.com:weaveworks/scope 2015-11-13 10:40:19 +00:00
David Kaltschmidt
e5dff9d9f1 Make npm less verbose 2015-11-13 11:21:17 +01:00
David
517b1e9fe9 Merge pull request #646 from weaveworks/615-shifting
Always center selected node
2015-11-13 11:17:02 +01:00
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
David Kaltschmidt
9fb3099a89 Dont scale graph on resize, only selected nodes 2015-11-12 17:22:33 +01:00
Paul Bellamy
8776d8cd41 Merge pull request #657 from weaveworks/Makefile
Update makefile for missing dependancy.
2015-11-12 16:09:08 +00:00
David Kaltschmidt
117f8b8444 Fix sublabel sizing 2015-11-12 16:18:19 +01: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
b6905d136d Undo pan/zoom after unselecting a node 2015-11-12 15:00:06 +01:00
David Kaltschmidt
3ca7415d47 Always center selected node
* dont allow panning while node is selected
* Shift nodes, not canvas on circling selection
* scale nodes on window resize
* Scale selected node to viewable size
2015-11-12 13:59:26 +01: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