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
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
Tom Wilkie
39b66300a6
Merge pull request #598 from weaveworks/315-capabilities
...
Add controls form container start, stop, pause, etc
2015-11-06 18:22:05 +00:00
David Kaltschmidt
abcb94b1f1
UI for controls.
...
- Make backend address configurable via env variable
- `BACKEND_HOST=1.2.3.4:4040 npm start` points the frontend to the app on that server. Just for development
- Render control icons
- removed close x for details panel
- added control icons in its space
- closing of panel still works by clicking on same node, or background
- Dont allow control while pending
- Render and auto-dismiss control error
- Make tests pass
2015-11-06 17:44:28 +00:00
Tom Wilkie
8f957c4f13
Add docker lifecycle controls, containers in states other that running, and a filter for those containers.
...
Also add integration test for container controls.
2015-11-06 17:39:54 +00:00
Tom Wilkie
76d34330a9
Add Control plumbing.
2015-11-06 17:39:48 +00:00
Paul Bellamy
05c11ef386
Merge pull request #631 from weaveworks/cleanup
...
General Cleanup
2015-11-06 17:04:51 +00:00
Paul Bellamy
9877a2126a
removing unused /api/origin/host/{id} route
2015-11-06 16:20:00 +00:00
Paul Bellamy
4d49aaccaa
add eslintignore to the dockerfile where we run eslint
2015-11-06 16:19:03 +00:00
Paul Bellamy
d520662e96
Merge pull request #627 from weaveworks/511-unconnected-uncontained
...
Prevent a stranded Uncontained node from appearing in container view.
2015-11-06 14:35:41 +00:00
Tom Wilkie
a99888994b
Prevent a standed Uncontained node from appearing in container view.
...
Do this by filtering unconnected nodes after mapping them to containers, not before.
2015-11-06 11:25:07 +00:00
Paul Bellamy
73e05d01de
Merge pull request #618 from weaveworks/587-parallelise
...
Speed up build & tests on Circle
2015-11-05 17:01:35 +00:00