Commit Graph

4211 Commits

Author SHA1 Message Date
Tom Wilkie
925851169e Use AddNode when adding nodes to the topology, such that the get merged with any existing node that might be there. 2015-09-15 10:02:58 +00:00
Tom Wilkie
34a8a975d2 Compile flags compatible with 1.4 2015-09-15 08:57:42 +00:00
Tom Wilkie
7d6b5a540e Revert "Merge pull request #450 from weaveworks/scope-284"
This reverts commit 46345e3bdb, reversing
changes made to bf3e9a1601.

Conflicts:
	probe/process/walker_darwin.go
2015-09-15 03:14:39 +00:00
Peter Bourgon
1001f550c0 Fix bad merge on Darwin 2015-09-14 15:55:38 +02:00
David
f74e286700 Merge pull request #473 from weaveworks/324-highlight-selected
Highlight selected node
2015-09-14 14:49:13 +02:00
Alvaro
46345e3bdb Merge pull request #450 from weaveworks/scope-284
Optimize /proc traversal
2015-09-14 14:28:49 +02:00
Alvaro Saurin
a7dc0ac206 Use a mutex in the /proc files cache
Some minor renames and cleanups.
2015-09-14 11:14:25 +02:00
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