Commit Graph
671 Commits
Author SHA1 Message Date
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
Peter Bourgon b328c403b3 Merge pull request #477 from weaveworks/backend-build-container
Backend build container
2015-09-11 13:54:06 +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
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 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
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
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
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