Commit Graph

428 Commits

Author SHA1 Message Date
Alfonso Acosta
2c4de6243a Review comment: move pty's Close 2016-04-01 12:17:09 +00:00
Alfonso Acosta
4a496073b0 More robust obtention of host shell command 2016-03-30 23:57:31 +00:00
Alfonso Acosta
59af5d28ad Review feedback: merge host controls with reporter 2016-03-29 17:14:15 +00:00
Alfonso Acosta
c1c40ad20d Add host-level terminals 2016-03-29 16:05:04 +00:00
Tom Wilkie
7e2e4c9c45 Fix spelling mistakes in the codebase. 2016-03-23 10:51:27 +00:00
Tom Wilkie
f6835e433c Fix bug in container image reporting, strip the prefix off when adding image to the registry 2016-03-22 17:21:49 +00:00
Paul Bellamy
c7cbb2df24 Merge pull request #1161 from weaveworks/1058-sha256-image-ids
strip sha256: from docker image ids
2016-03-16 13:57:41 +00:00
Paul Bellamy
1f6652e1c3 strip sha256: from docker image ids 2016-03-16 13:06:54 +00:00
Paul Bellamy
0c4c90a91c Merge pull request #1165 from weaveworks/1136-kernel-version
only check the first two segments of the kernel version
2016-03-15 16:33:18 +00:00
Paul Bellamy
0a910b422d only check the first two segments of the kernel version 2016-03-15 13:20:15 +00:00
Alfonso Acosta
7a0235499e Unnecessary EOL in log 2016-03-15 11:51:20 +00:00
Tom Wilkie
bd760f6e76 Update demo for tracer 2016-03-10 13:25:19 +00:00
Tom Wilkie
e7c5fc7016 Remove address topology 2016-03-08 13:23:30 +00:00
Paul Bellamy
31835615aa Merge pull request #1113 from weaveworks/1065-tag-shortcut-reports
Tag shortcut reports.
2016-03-04 17:16:39 +00:00
Tom Wilkie
2e604657a5 Merge pull request #1101 from weaveworks/release-0.13.0
Release 0.13.1
2016-03-04 11:04:50 +00:00
Tom Wilkie
4fd680f3b1 Tag shortcut reports. 2016-03-03 16:09:26 +00:00
Tom Wilkie
da33d9c106 Have the probe fill in the app id, not the app 2016-03-03 09:26:23 +00:00
Alfonso Acosta
220db7656a Try to figure out the most suitable shell to use 2016-02-29 18:01:07 +00:00
Tom Wilkie
ef1fc2a60a Merge pull request #1043 from weaveworks/1040-docker-exec-crash
Distinguish between reporting probes and controlling probes
2016-02-26 15:23:47 +00:00
Alfonso Acosta
b33c516758 Review feedback+test 2016-02-26 12:58:07 +00:00
Ilya Dmitrichenko
b0d6078e38 Merge pull request #1038 from weaveworks/1013-use-tcp-for-weavedns
Use TCP for weave dns.
2016-02-26 11:00:39 +00:00
Alfonso Acosta
a559a23dba Distinguish between reporting probes and controlling probes 2016-02-26 01:46:18 +00:00
Alfonso Acosta
4dc9f7834e Return response errors 2016-02-25 23:05:35 +00:00
Paul Bellamy
1d17a335c6 Merge pull request #995 from weaveworks/828-websocket-ping
Add ping/pong to websocket protocol
2016-02-25 17:13:14 +00:00
Paul Bellamy
35fe8864a1 Review Feedback 2016-02-25 16:34:35 +00:00
Tom Wilkie
592bf3fb43 Use TCP for weave dns. 2016-02-25 15:39:20 +00:00
Paul Bellamy
fbe567187a Merge pull request #1014 from weaveworks/977-docker-event-crash
Handle closing of docker events channel gracefully
2016-02-24 17:38:30 +00:00
Paul Bellamy
cfc071471b Add ping/pong to websocket protocol 2016-02-24 17:16:35 +00:00
Alfonso Acosta
2982166e03 Handle closing of docker events channel gracefully 2016-02-23 16:35:58 +00:00
Paul Bellamy
6cef1b10ca adding direction to connections from conntrack
* Remove report.EdgeMetadata.MaxConnCountTCP, as we don't display it anywhere
* Remove hostname metadata from local end of connection. We should be using the hostnodeid
2016-02-23 14:17:45 +00:00
Paul Bellamy
d2bf204181 Merge pull request #960 from weaveworks/no-ips-for-no-network
Don't show blank IPs metadata row for containers with no IP
2016-02-19 17:39:01 +00:00
Paul Bellamy
5535f5e738 Review Feedback 2016-02-19 17:04:00 +00:00
Alfonso Acosta
49f6568138 Place buffer infront of the docker stats decoder 2016-02-19 14:06:47 +00:00
Paul Bellamy
38653c4f7a Merge pull request #969 from weaveworks/759-term-env-var
set TERM=xterm on execs to work around docker issue 9299
2016-02-19 11:08:18 +00:00
Alfonso Acosta
7f384032fd Review feedback 2016-02-18 16:00:41 +00:00
Alfonso Acosta
bf3ecd7f03 k8s: Add container Ids to container report 2016-02-18 14:52:10 +00:00
Paul Bellamy
e49d1a721c set TERM=xterm on execs to work around docker issue 9299 2016-02-18 11:50:11 +00:00
Alfonso Acosta
1e3014c417 Fix weave tagger crash 2016-02-17 18:53:43 +00:00
Paul Bellamy
df856d78dc set container IPs to host IPs for containers with --net=host 2016-02-17 16:42:52 +00:00
Paul Bellamy
092342c0ff don't show blank ips metadata row for containers with no IP 2016-02-17 16:21:37 +00:00
Alfonso Acosta
a2710ecfd5 Merge pull request #916 from weaveworks/854-reports-codec
Improve codec performance
2016-02-17 14:07:31 +00:00
Paul Bellamy
44dada25f2 Review Feedback 2016-02-16 10:37:25 +00:00
Alfonso Acosta
9f02e20ac3 Bump github.com/ugorji/go/codec/ for performance improvements
This caused a dependency chain reaction (sigh):

* All the k8s packages had to be fetched again. This in turn required:
  * Pining github.com/docker/docker/pkg/parsers to
    0f5c9d301b9b1cca66b3ea0f9dec3b5317d3686d to cirvumvent
    https://github.com/kubernetes/kubernetes/issues/18774
  * Update github.com/juju/ratelimit
  * Make probe/kubernetes/client.go comply with API changes.
2016-02-16 06:31:35 +00:00
Alfonso Acosta
0d917b2d8b Use github.com/ugorji/go/codec/ for wiring messages
* New encoding format:
  * Msgpack reports between probe<->app (smaller representation, faster to
    encode/decode).
  * Still use JSON between app<->UI (try to avoid making javascript deal with
    mspack).

  The app still suports publishing reports in both gob and JSON, not braking
  backwards compatibility.

* Use compile-time generated marshallers/unmarshallers for higher performance. In
  order to be able to skip code-generation for certain types, I included
  https://github.com/2opremio/go-1/tree/master/codec/codecgen instead of
  upstream until https://github.com/ugorji/go/pull/139 is merged.

* Encode/decode intermediate types using github.com/ugorji/go/codec.Selfer
  for higher performance and reducing garbage collection (no temporary buffers).
2016-02-16 06:31:31 +00:00
Paul Bellamy
5bb3d49297 gather file descriptors as process metric 2016-02-12 17:13:27 +00:00
Tom Wilkie
d4e58b9e33 Decouple Scope lifecycle from Weave lifecycle
- Run the Weave integrations regardless of if weave is detected.
- Make everything backoff and not spam the logs.
- Add miekg dns to vendor.
- Have the app periodically register with weaveDNS, and the probe do lookups there.
- Decide what the local networks are at runtime, not once at startup.
- Correctly resolve app ids, fixes #825
2016-02-09 14:24:57 +00:00
Alfonso Acosta
26ccb4918b Merge pull request #912 from weaveworks/812-rate-limit-proc
Rate-limit reading proc files
2016-02-09 11:19:51 +00:00
Alfonso Acosta
d4b114daea Review comments 2016-02-09 10:39:51 +00:00
Alfonso Acosta
dfc136904c Review feedback 2016-02-09 10:00:04 +00:00
Alfonso Acosta
eb52adbbec Raise maximum rate limit 2016-02-08 22:29:54 +00:00