Commit Graph

1935 Commits

Author SHA1 Message Date
Simon Howe
a32bd7a54b Removes the metrics-feeder to keep things in sync.
Another temp fix.
2016-04-18 15:46:37 +02:00
Alfonso Acosta
ff818cf1b9 Release 0.14.0 2016-04-18 14:23:10 +01:00
David Kaltschmidt
4810bbc572 Fix panning isolation
* panning values were reused on when visiting a topology for the first
  time

Fixes #1238
2016-04-18 14:23:10 +01:00
Simon Howe
8c4f025fa4 Ensure we create a new terminal instance for each new pipe.
- 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.
2016-04-18 14:23:09 +01:00
Tom Wilkie
0396a79d7f Don't show non-internet pseudo nodes. (#1326) 2016-04-18 14:18:19 +01:00
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
Ilya Dmitrichenko
49f79649ed Update license and copyright notice 2016-04-18 10:56:33 +01:00
Paul Bellamy
4b41c48e6f Merge pull request #1308 from weaveworks/plugin-docs
Extend plugin documentation
2016-04-18 10:04:17 +01:00
Ilya Dmitrichenko
7a6d6ea938 Merge pull request #1307 from weaveworks/fix-1306
Add OpenShift infra container image name to the list of well-known system containers
2016-04-15 17:15: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
Alfonso Acosta
5f7c49197d Extend plugin documentation
* Add section to main README
* Add introduction to plugins-specific README
2016-04-15 14:23:52 +01:00
Paul Bellamy
6ba281aabd Merge pull request #1303 from weaveworks/customizable-fixprobe
add some flags to fixprobe so you can use it against the service
2016-04-15 10:43:31 +01:00
Ilya Dmitrichenko
adf8e21801 Add OpenShift infra container image name to the list of well-known system containers (close #1306) 2016-04-14 17:47:44 +01:00
Paul Bellamy
0ece4f5c8c add some flags to fixprobe so you can use it against the service 2016-04-14 15:54:08 +01:00
Alfonso Acosta
91b3610b1b Do not enforce tags on make deps (#1301)
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
```
2016-04-14 15:33:20 +01:00
Simon
66aad82598 Merge pull request #1287 from weaveworks/fix-moc-text-hover
Fixes metric-on-canvas-hover text highlight.
2016-04-14 16:19:17 +02:00
Simon
412fdd1a27 Merge pull request #1280 from weaveworks/1271-broken-plugin-status
Nice and red and blinky ui label for broken plugins
2016-04-13 16:34:49 +02:00
Alfonso Acosta
151567ec69 Merge pull request #1277 from weaveworks/ebpf-plugin-improvements
eBPF plugin improvements
2016-04-13 15:34:38 +01:00
Simon Howe
948459f773 Use an icon rather than color to draw attention to broken plugin 2016-04-13 16:29:25 +02:00
Paul Bellamy
398258f3a7 Merge pull request #1294 from weaveworks/1293-container-pod-link
Construct correct id for pod parents
2016-04-13 13:58:46 +01:00
Paul Bellamy
73a2108ea3 Merge pull request #1289 from weaveworks/634-k8s-pod-status
Show k8s pod status
2016-04-13 13:55:47 +01:00
Paul Bellamy
6ffbc5328d adding a test for pod node rendering 2016-04-13 13:31:10 +01:00
David
fd95e5c328 Merge pull request #1275 from weaveworks/1144-svg-font
Fix exported SVG for SVG viewers
2016-04-13 14:25:19 +02:00
Tom Wilkie
df1ccae9f6 Construct correct id for pod parents 2016-04-13 13:20:31 +01:00
Paul Bellamy
2a2e3ab276 Merge pull request #1288 from weaveworks/1286-collector-expire-cache
Correctly expire the cache in the collector
2016-04-13 12:44:24 +01:00
Alfonso Acosta
ef94818ab5 Add (admitedly redundant) clarification on kernel tasks 2016-04-13 11:18:37 +00:00
Tom Wilkie
3fcd74f8d1 Show k8s pod status 2016-04-13 11:56:26 +01:00
Paul Bellamy
4ce6c13c89 Merge pull request #1285 from weaveworks/1284-docker-labels
Add labels to docker labels
2016-04-13 11:41:54 +01:00
Tom Wilkie
e2cb836272 Correctly expire the cache in the collector 2016-04-13 11:29:53 +01:00
Simon Howe
c5a56f28c7 Fixes metric-on-canvas-hover text highlight.
Label grey-bg style was leaking onto the middle!
2016-04-13 12:18:23 +02:00
Paul Bellamy
12b40746b2 Merge pull request #1283 from weaveworks/1282-plugin-panic
Don't add plugin registry if creating it fails
2016-04-13 11:06:42 +01:00
Tom Wilkie
2ac410e542 Add labels to docker labels 2016-04-13 10:59:47 +01:00
Tom Wilkie
a171dd2a05 Don't add plugin registry if creating it fails 2016-04-13 10:42:45 +01:00
David Kaltschmidt
78500062ff Fix exported SVG for SVG viewers
* `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
2016-04-13 11:23:28 +02:00
Simon Howe
7e5302afbb Nice and red and blinky ui label for broken plugins 2016-04-13 10:26:48 +02:00
David
b74b3946a4 Merge pull request #1269 from weaveworks/1096-state-dimensions
Dont scale nodes after browser window resize
2016-04-13 09:26:22 +02:00
Alfonso Acosta
c838350668 eBPF plugin improvements
* 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)
2016-04-13 04:22:06 +00:00
Paul Bellamy
f211d48cda Merge pull request #1126 from weaveworks/plugins
Plugins
2016-04-12 18:03:26 +01:00
Paul Bellamy
3865e0fc77 use json template in iowait example, as it's clearer 2016-04-12 18:02:14 +01:00
Paul Bellamy
a9aaac00b7 typo in plugins readme 2016-04-12 17:44:41 +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
4b4e52397b add .uptodate to gitignore (for http-requests example plugin) 2016-04-12 17:22:39 +01:00
Paul Bellamy
16c497d30a ditch plugin handshake endpoint 2016-04-12 17:22:39 +01:00
Alfonso Acosta
30bd6519d3 Review feedback: rename plugin directory 2016-04-12 17:22:39 +01:00
Alfonso Acosta
dfa93fe2f1 Review feedback 2016-04-12 17:22:39 +01:00
Alfonso Acosta
efd62ac5b3 Add dependencies for building docker image 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