Commit Graph

5754 Commits

Author SHA1 Message Date
Alvaro Saurin
026d8e9065 Minor: refactored readerLinux/readIntoBuffer() for removing a parameter 2015-09-14 10:59:23 +02:00
Alvaro Saurin
2f9f54688f Keep a cache of open files, reducing the number of open/close cycles in the /proc dir 2015-09-14 10:59:23 +02:00
David Kaltschmidt
bf3e9a1601 added make frontend, and revised README 2015-09-14 10:56:17 +02:00
Alvaro Saurin
14dc6a5391 Cache processes and connections when reading from the /proc
Code cleanups
2015-09-14 10:53:24 +02:00
Alvaro Saurin
4331fb1c79 Drop all the dependencies we had on procspy by moving some code to probe. 2015-09-14 10:44:53 +02:00
Tom Wilkie
b2b8b45bc2 Merge pull request #479 from weaveworks/makefile
Makefile improvements.
2015-09-14 16:24:19 +08:00
Tom Wilkie
070c258119 Merge pull request #482 from weaveworks/443-flaky
Address intermittent failure in registry_test.go
2015-09-14 16:04:49 +08:00
Tom Wilkie
d03300eb4f Merge pull request #481 from weaveworks/480-panic-serving
Don't close the request body.
2015-09-14 16:03:37 +08:00
Tom Wilkie
2fdfa1cbf5 Fix flaky docker tests. 2015-09-14 05:09:33 +00:00
Tom Wilkie
c9f39d4129 Address one intermittent failure in registry_test.go 2015-09-14 04:57:56 +00:00
Tom Wilkie
fdf89a7fc7 Don't --rm containers on circle. 2015-09-14 04:16:52 +00:00
Tom Wilkie
e303188169 Don't close the request body. 2015-09-14 04:11:04 +00:00
Tom Wilkie
f4a426daa1 Makefile improvements. 2015-09-14 04:00:27 +00:00
Tom Wilkie
54e57030ab Merge pull request #476 from weaveworks/460-disconnected-edges
Set beginning and end points to node coordinates
2015-09-14 11:19:28 +08:00
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