Commit Graph

658 Commits

Author SHA1 Message Date
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
e303188169 Don't close the request body. 2015-09-14 04:11:04 +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
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
Peter Bourgon
1dfc725706 Filter system containers from topologies; add API to control filters. 2015-09-07 14:24:15 +00:00
Tom Wilkie
6a6622e398 Merge pull request #453 from weaveworks/452-ellipses
Don't send numeric=true for connections table.
2015-09-07 15:19:22 +01:00
Tom Wilkie
303e11be6a Don't send numeric=true for connections table. 2015-09-07 13:06:13 +00:00
Tom Wilkie
9ab98baafc Merge pull request #451 from weaveworks/reverse-resolver-fix
Small improvements to reverse resolver
2015-09-07 11:43:47 +01:00
Tom Wilkie
4da819b18c Merge pull request #449 from weaveworks/447-short-lived-in-apps
Prevent short lived connections appearing as pseudo nodes in the applications view.
2015-09-07 11:32:38 +01:00
Tom Wilkie
f5d6872c51 Don't rate limit requests that have already been resolved, and cache negative responses. 2015-09-07 10:30:16 +00:00
Alvaro
d3c7138499 Merge pull request #404 from weaveworks/scope-364
reverse resolutions for remote side of connections.
2015-09-07 10:55:12 +02:00
Peter Bourgon
7513b4e396 Wrap comments at 80col throughout the fileset 2015-09-07 10:36:35 +02:00
Tom Wilkie
85bfcddb3f Prevent short lived connections appearing as pseudo nodes in the applications view. 2015-09-06 16:26:57 +00:00
Tom Wilkie
ad6702a196 Some review feedback. 2015-09-05 19:39:22 +00:00
Paul Bellamy
9526663d6d Merge pull request #437 from weaveworks/436-container-image-name-in-rank
Make container rank the image _name_
2015-09-04 17:08:59 +01:00
Tom Wilkie
a454a68841 Merge pull request #443 from weaveworks/442-blank-app
Fix JS error on missing edge target
2015-09-04 16:28:39 +01:00