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
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
Peter Bourgon
65b78206ee
xfer: move Buffer to own file; update comment
...
overlay: mutex for Weave status
2015-09-11 10:12:14 +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
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
b2c271c511
Push reports to the app in the background and in parallel.
2015-09-09 09:39:28 +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
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
Alvaro Saurin
15e25edc40
New asynchronous, caching DNS resolver for reverse resolutions
...
Add nodes for the remote side of connections iff we have a DNS reverse resolution for the IP.
Unit test for the resolver
2015-09-04 17:21:45 +02:00
Tom Wilkie
57f7b4f2e6
Rename NodeMetadata -> Node
2015-09-03 16:18:54 +00:00
Tom Wilkie
9ab22bd8dc
Wait longer for the goroutine to stop.
2015-09-03 08:33:15 +00:00
Tom Wilkie
144a798602
Review Feedback
2015-09-02 14:32:47 +00:00
Tom Wilkie
afc2788777
Move EdgeMetadata into the NodeMetadata struct.
2015-09-02 14:32:44 +00:00
Tom Wilkie
899e2d7a5c
Review feedback
2015-09-01 11:01:25 +00:00
Tom Wilkie
1f6b3d4a45
Move Adjacency info inside the NodeMetadata struct; move pseudo node generation to the probes.
2015-08-28 15:20:27 +00:00
Tom Wilkie
903a51397b
Review feedback
2015-08-28 09:19:56 +00:00
Tom Wilkie
1a286eac04
Use an exec'd conntrack in 'events' mode instead of repeatedly execing it for NAT mappings. Also use conntrack to populate the endpoint table.
2015-08-27 16:29:33 +00:00
Peter Bourgon
cdaaf2e1da
probe: unnecessary Copy in test
2015-08-27 17:30:50 +02:00
Tom Wilkie
142aa067ec
Fix test
2015-08-27 15:25:24 +00:00
Peter Bourgon
44e6fd2adb
Merge pull request #399 from weaveworks/topology-copy
...
Moar functional: Topology Merge methods don't mutate the receiver
2015-08-27 17:05:12 +02:00
Peter Bourgon
fcecb92206
Ugh.
2015-08-27 16:54:06 +02:00
Alfonso Acosta
4db80108bf
Merge pull request #400 from weaveworks/docker-labels
...
Report docker container labels and render them in the details pane
2015-08-27 14:11:35 +01:00
Alfonso Acosta
9ba37402cf
Report/render both image and container labels
...
Daemon labels will have to wait since the go client (Docker API v1.14) doesn't support
them yet (daemon labels were exposed in Docker API v1.16)
See https://godoc.org/github.com/fsouza/go-dockerclient#Client.Info for details.
2015-08-27 09:45:30 +00:00
Tom Wilkie
7c1ca152fa
Fail if want != have!
2015-08-26 16:24:42 +00:00
Alfonso Acosta
529aa3d84f
Use a metadata key per docker label
2015-08-26 15:49:13 +00:00
Alfonso Acosta
e1c05012ca
Report docker container labels and render them in the details pane
2015-08-26 13:38:53 +00:00
Tom Wilkie
1ad1197051
Review feedback
2015-08-26 13:00:33 +00:00
Peter Bourgon
d5ab8177f6
probe: fixes for new merge semantics
2015-08-26 12:02:03 +01:00
Tom Wilkie
d8ac16d3f3
Gather container IP addresses from Docker and Weave, and apply them to nodes in the container topology.
2015-08-26 10:19:08 +00:00
Tom Wilkie
e9fad6136f
Tag containers with WeaveDNS hostnames.
2015-08-25 16:41:56 +00:00
Tom Wilkie
ac34ce8c57
Change log message to make it clear this probably isn't an error.
2015-08-25 10:03:44 +00:00
Tom Wilkie
fe809fd896
Update for new weave status interface; 'intelligently' enable by default.
2015-08-25 09:22:14 +00:00
Tom Wilkie
7ca9dd32e6
Revert "Also use conntrack to populate the endpoint topology."
...
This reverts commit f89044a381 .
2015-08-21 14:55:39 +00:00
Tom Wilkie
f89044a381
Also use conntrack to populate the endpoint topology.
2015-08-21 13:51:00 +00:00
Alfonso Acosta
0fd54e40da
Merge pull request #376 from weaveworks/no-empty-proc-rows
...
Don't report empty fields from process
2015-08-19 18:39:05 +01:00
Alfonso Acosta
bdd886a28f
Don't report empty fields from process
2015-08-19 16:50:20 +00:00
Tom Wilkie
6f1f453098
Review feedback
2015-08-19 12:22:28 +00:00
Tom Wilkie
89df11bbfd
Make edge direction flow from client->server.
2015-08-19 10:17:24 +00:00
Paul Bellamy
3fa86fe6ce
adding -version flag back into app and probe for the release script
2015-08-19 10:37:02 +01:00
Tom Wilkie
501504bb40
Fix #363 ; it can take longer than 1ms to resolve an ip, even when its just a map lookup.
...
GC takes longer, for instance. Also we should fail if we don't get the IP in time, otherwise
we just deadlock. And fix some concurrent variable access.
2015-08-18 11:20:59 +00:00