Commit Graph

1910 Commits

Author SHA1 Message Date
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
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
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
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
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
Alfonso Acosta
2da13da6f7 ebpf plugin to gather http-request rate per PID 2016-04-12 17:22:38 +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
David Kaltschmidt
f79a49beac Moved plugins renderer to the status footer 2016-04-12 17:22:38 +01:00
Paul Bellamy
6b0795a027 removing render/detailed/labels, as its not a good fit anymore 2016-04-12 17:22:35 +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
Paul Bellamy
f899f4451b adding github.com/paypal/ionet for testing 2016-04-12 17:20:20 +01:00
Paul Bellamy
6a4294ee4d Merge pull request #1274 from weaveworks/1267-one-load
Remove load5 and load15
2016-04-12 17:19:59 +01:00
Tom Wilkie
281ba58845 Add /api/probes endpoint 2016-04-12 17:17:18 +01:00
Tom Wilkie
b68a2b6112 Update vendored version of go-spew; fixes #1273 2016-04-12 17:17:17 +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
dc0165ab0a Merge pull request #1209 from weaveworks/multitenant-tests
Tests for Consul Pipe Router.
2016-04-12 16:55:58 +01:00
David
7936977ce2 Merge pull request #1272 from weaveworks/1076-maunal-column-width
Fixed column widths for node tables with few columns
2016-04-12 17:37:49 +02:00
Tom Wilkie
ad338109f3 Remove unused function 2016-04-12 16:24:50 +01:00
David Kaltschmidt
e497c3ce39 Fixed column widths for node tables with few columns
* Gives the node label column more space
* let the remaining columns fight over the rest

Fixes #1076
2016-04-12 17:06:01 +02:00
David Kaltschmidt
af887418b9 Dont scale nodes after browser window resize
* track browser dimensions as chart state
* only override on force layout

Fixes #1096
2016-04-12 16:33:43 +02:00
David Kaltschmidt
d6eff06bc0 Fix url state parsing for terminal popout in Firefox 2016-04-12 15:50:45 +02:00
Tom Wilkie
da53aac25d Tests & vartious fixes for consul pipe router.
Fix a few bugs in the consul pipe router:
- Don't share a pointer
- Write nil to pipe when closing a bridge connection to ensure the connection shutdown.
- Ensure we shutdown bridge connections correctly
2016-04-12 14:28:10 +01:00
Simon
77aa1ed501 Merge pull request #1264 from weaveworks/1263-untruncate-only-hovered
Untruncate only the hovered node's text, not its adjacents.
2016-04-12 12:46:02 +02:00
Simon Howe
dcfb7f0c2c Fixes flickering when mouse moves between nodes labels
w/ a secret rect!
2016-04-12 12:45:09 +02:00
Simon Howe
fd193d7edd Untruncate only the hovered node's text, not its adjacents. 2016-04-12 10:28:16 +02:00
David
f3c9ff2ce4 Merge pull request #1262 from weaveworks/1242-fix-layoutnodes
Keep edge and node movement in sync
2016-04-12 09:35:14 +02:00
David
ff417c9004 Merge pull request #1261 from weaveworks/1238-cache-panning
Cache pan/zoom per topology
2016-04-11 20:26:46 +02:00
David Kaltschmidt
34e9e9d85d Keep edge and node movement in sync
Fixes regression introduced by #1186 (comparing wrong layout state
objects)

Fixes #1242
2016-04-11 20:22:18 +02:00
Simon Howe
ed09f5b9bd Fixes client localdev reloading 2016-04-11 19:12:36 +02:00