Commit Graph

347 Commits

Author SHA1 Message Date
Paul Bellamy
528bfa98ee Merge pull request #1321 from weaveworks/1270-plugins-body-too-large
Better error message when plugin responses are too large
2016-04-18 14:07:39 +01:00
Paul Bellamy
f17c8e6bae Better error message when plugin responses are too large 2016-04-18 12:43:40 +01:00
Ilya Dmitrichenko
a49c3893de More sensible container names for Mesos/Marathon (#1316)
* Collect container environment variales (close #1314)

* Containers managed by Marathon can have meaningful names (close #1309)

* Make linter happy and fix tests
2016-04-18 12:10:18 +01:00
Paul Bellamy
7090855f9e Add local_networks to weave Overlay nodes, so we can track weave without an exposed weave ip (#1313) 2016-04-15 16:23:15 +01:00
Tom Wilkie
3fcd74f8d1 Show k8s pod status 2016-04-13 11:56:26 +01:00
Paul Bellamy
f211d48cda Merge pull request #1126 from weaveworks/plugins
Plugins
2016-04-12 18:03:26 +01:00
Paul Bellamy
6158cbe581 Merge pull request #1265 from weaveworks/api-probes
Add /api/probes endpoint
2016-04-12 17:44:07 +01:00
Paul Bellamy
72518e7036 iowait example plugin should remove the socket when done 2016-04-12 17:22:40 +01:00
Paul Bellamy
16c497d30a ditch plugin handshake endpoint 2016-04-12 17:22:39 +01:00
Alfonso Acosta
9f219badab Stop using the httputil client for plugins
* It sends unexpected TCP RSTs (causing connection reset by peer errors in the python plugin)

  Exception happened during processing of request from
  Traceback (most recent call last):
    File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
      self.process_request(request, client_address)
    File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
      self.finish_request(request, client_address)
    File "./http-requests.py", line 145, in finish_request
      self.RequestHandlerClass(request, '-', self)
    File "/usr/lib/python2.7/SocketServer.py", line 658, in __init__
      self.handle()
    File "/usr/lib/python2.7/BaseHTTPServer.py", line 349, in handle
      self.handle_one_request()
    File "/usr/lib/python2.7/BaseHTTPServer.py", line 312, in handle_one_request
      self.raw_requestline = self.rfile.readline(65537)
    File "/usr/lib/python2.7/socket.py", line 480, in readline
      data = self._sock.recv(self._rbufsize)
  error: [Errno 104] Connection reset by peer

* It doesn't reuse connections
2016-04-12 17:22:39 +01:00
Paul Bellamy
333d32fbe5 Review Feedback 2016-04-12 17:22:38 +01:00
Paul Bellamy
fcfd42e5d5 Review feedback - adding plugin status field 2016-04-12 17:22:38 +01:00
Paul Bellamy
7632e0b3c5 Adding support for plugins, with basic example of iowait, and ebpf
Squash of:
* Include plugins in the report
* show plugin list in the UI
* moving metric and metadata templates into the probe reports
* update js for prime -> priority
* added retry to plugin handshake
* added iowait plugin
* review feedback
* plugin documentation
2016-04-12 17:22:14 +01:00
Tom Wilkie
281ba58845 Add /api/probes endpoint 2016-04-12 17:17:18 +01:00
David Kaltschmidt
79b4232b08 Remove load5 and load15
* not really useful
* take up lots of real estate

Fixes #1267
2016-04-12 16:58:21 +01:00
Paul Bellamy
c075939379 Forgot debug println 2016-04-07 12:33:34 +01:00
Paul Bellamy
bfb65cb4af Merge pull request #1225 from weaveworks/1149-more-meaningful-metrics-max-mmmmmmm
Set the memory and open files maximums based on the host
2016-04-07 10:36:30 +01:00
Paul Bellamy
f3adefa454 Update docker client, to get better state strings in the UI 2016-04-06 16:39:45 +01:00
Paul Bellamy
b970b0561b Set the memory and open files maximums
process memory limit is not cgroup-aware
2016-04-06 13:07:55 +01:00
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