Commit Graph

5140 Commits

Author SHA1 Message Date
Peter Bourgon
d31abff4ea Merge pull request #470 from weaveworks/40-percent-cpu
Reduce probe cpu usage
2015-09-11 16:43:51 +02:00
David Kaltschmidt
6191999c9e shift canvas up/down if node circle off canvas 2015-09-11 16:39:00 +02:00
David Kaltschmidt
bc7e8f27fc animate shifting of canvas 2015-09-11 16:26:22 +02:00
David Kaltschmidt
afbd1397df shift canvas if selected nodes are hidden 2015-09-11 15:41:26 +02:00
David Kaltschmidt
396ebdd13e pseudo nodes should be equally blurred 2015-09-11 14:46:07 +02:00
David Kaltschmidt
31f7a97016 setState only once in componentWillReceiveProps
setstate does not set this.state immediately, so successive function
calls cant rely on it
2015-09-11 14:42:10 +02:00
Peter Bourgon
b328c403b3 Merge pull request #477 from weaveworks/backend-build-container
Backend build container
2015-09-11 13:54:06 +02:00
David Kaltschmidt
6c5c2c2c94 ignore previous node state/flush states on topo change 2015-09-11 11:03:59 +02:00
Peter Bourgon
65b78206ee xfer: move Buffer to own file; update comment
overlay: mutex for Weave status
2015-09-11 10:12:14 +02:00
Peter Bourgon
b97407a540 Use local checkout 2015-09-10 16:58:49 +02:00
David Kaltschmidt
72c433eb86 make sure circular layouts lots of nodes spreadout 2015-09-10 15:55:07 +02:00
Peter Bourgon
dde214c103 Put the binaries in the official place 2015-09-10 15:43:19 +02:00
Peter Bourgon
fc95067bd3 First cut of Docker build for backend 2015-09-10 15:38:48 +02:00
David Kaltschmidt
b49e1f55d2 Use full adjacency also for mouseover nodes 2015-09-10 15:38:03 +02:00
David Kaltschmidt
2c6c7f1995 Set beginning and end points to node coordinates
This is to ignore node bounding box which sometimes leads to
disconnected edges.
2015-09-10 15:17:46 +02:00
David Kaltschmidt
7eb6b93ee9 added test for adjacency 2015-09-09 18:44:54 +02:00
David Kaltschmidt
f764e4415e respect both ways of adjacency for selected node 2015-09-09 18:26:44 +02:00
David Kaltschmidt
2c554fe273 blur nodes that not selected nor adjacent 2015-09-09 18:12:02 +02:00
Tom Wilkie
a8c163b5d7 Remove O(n^2) behaviour in weave tagger. 2015-09-09 15:09:27 +00:00
Tom Wilkie
bb20a81338 Only serialise and compress reports once per publish. 2015-09-09 15:08:55 +00:00
Tom Wilkie
d5570f27a7 Only conntrack tcp connections to reduce cpu load from xml marshalling. 2015-09-09 15:08:54 +00:00
Tom Wilkie
b7c22b7a8f Only fetch weave status report once per tick. 2015-09-09 15:08:43 +00:00
Tom Wilkie
5bd324db3f Generate reports in parallel (NB this doesn't actually seem to be worth it.) 2015-09-09 15:05:05 +00:00
Tom Wilkie
2f760f2f33 Cache generated ids to relieve pressure on the GC 2015-09-09 15:01:58 +00:00
Tom Wilkie
d411afd916 WithNode is a CPU hog. 2015-09-09 15:01:57 +00:00
Tom Wilkie
953106f80f Warn when generating the report takes too long. 2015-09-09 15:01:48 +00:00
David Kaltschmidt
f0a5fcc439 highlight selected node and circle adjacent nodes 2015-09-09 16:36:33 +02:00
Tom Wilkie
57aaf4be6f Merge pull request #459 from weaveworks/458-blankety-blank
Make report propagation more reliable
2015-09-09 13:49:12 +01:00
David Kaltschmidt
5f2e632319 Fix missing options parameter on reconnect
fixes #468
2015-09-09 14:27:20 +02:00
Tom Wilkie
d8ac330589 Backoff on failed report pushes. 2015-09-09 09:56:39 +00:00
Tom Wilkie
b2c271c511 Push reports to the app in the background and in parallel. 2015-09-09 09:39:28 +00:00
Tom Wilkie
2bde4a070e Merge pull request #456 from weaveworks/container-name-from-ecs-label
Use label "com.amazonaws.ecs.container-name" to render container names
2015-09-08 19:23:06 +01:00
Peter Bourgon
ee1e7a9738 Merge pull request #462 from weaveworks/render-reports
/api/report should render the complete report
2015-09-08 18:22:57 +02:00
David Kaltschmidt
8dbb13a972 slow animation down a bit 2015-09-08 14:00:52 +02:00
David Kaltschmidt
c0b0e5f807 animate edges via react-motion
edges can have different point counts between updates, that throws
Spring off, therefor I'm making sure the number of points is always 10.
If anyone can find out how many points dagre maximally puts, please
change this (my guess is max. 4).
2015-09-08 13:23:46 +02:00
David Kaltschmidt
4584bed4b7 WIP use react-motion to animate edges 2015-09-08 13:23:46 +02:00
Peter Bourgon
208abfa34a rm Sterilize, use Prune 2015-09-08 12:00:10 +02:00
Tom Wilkie
3a32fc8011 make static 2015-09-08 09:55:59 +00:00
Tom Wilkie
62577843c7 Merge pull request #461 from weaveworks/457-refresh-options
Refresh should keep topology options
2015-09-08 10:55:36 +01:00
Peter Bourgon
b1f316ffc7 Add Prune method (née Sterilize) 2015-09-08 11:50:18 +02:00
Peter Bourgon
b143946db6 omitempty 2015-09-08 11:41:19 +02:00
Peter Bourgon
474525bcd6 Don't omit Node fields from JSON rendering 2015-09-08 10:47:40 +02:00
David Kaltschmidt
4fd53e3ae9 Refresh should keep topology options
fixes #457
2015-09-08 00:11:18 +02:00
Tom Wilkie
bd2a75687f make static 2015-09-07 21:12:07 +00:00
Alfonso Acosta
ebefa5e8f0 Use label "com.amazonaws.ecs.container-name" to render container names 2015-09-07 20:52:13 +00:00
David
453f1bc744 Merge pull request #455 from weaveworks/454-option-api
Apply topology options to detail API
2015-09-07 18:49:59 +02:00
David Kaltschmidt
b698006e04 Apply topology options to detail API
Fixes #454
2015-09-07 18:21:58 +02:00
Peter Bourgon
e81efe6c14 make static 2015-09-07 11:10:48 -04:00
Peter Bourgon
3a48abf380 Merge pull request #420 from weaveworks/without-system-containers
Add filtering options to views; add options for filtering out system containers & unconnected containers.
2015-09-07 16:51:55 +02:00
David Kaltschmidt
27caf0af41 Add dropdown field for topology options, save topology option in url state
- fix nodes reset after topology option change
- set topology on click
- explicitly set default topology options
- set default topo options when topos are received
- prevent JS error on too many nodes layout abort
2015-09-07 14:25:49 +00:00