- Prevents new session from continuing in the same terminal as an old
one.
- This is implemented using react's key behaviour at the moment: When
the key changes, react unmounts and remounts the component and all
term.js stuff inside of it. Could probably do this more explicitly.
* Collect container environment variales (close#1314)
* Containers managed by Marathon can have meaningful names (close#1309)
* Make linter happy and fix tests
Dependencies are built out of the build container and we shouldn't enforce
specific tags.
It breaks the release process (see https://github.com/weaveworks/scope/wiki/Release-Process#go-to-a-linux-host)
in machines with standard Go installations resulting in:
```
go install net: open /usr/local/go/pkg/linux_amd64/net.a: permission denied
```
* `sans-serif` breaks certain SVG viewers
* set single font: Arial (hopefully best choice)
* set absolute width and height
* remove react id attributes (saves 10%)
Fixes#1144
* Check that the protocol is TCP
* Support all HTTP methods
* Clear out tasks from table when they exit (required using task ids as table
keys). A nice side effect of this is that we can tell apart tasks receiving 0
req/second (i.e. tasks which currently aren't receiving any requests but were
receiving requests at some point) from tasks which don't exist anymore.
We report metrics fro the former.
* Simplify hash table key (no need to use a struct)
* 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