5943 Commits
Author SHA1 Message Date
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
David Kaltschmidt d554f02ff7 Dont clear node details when closing a terminal
* a route event no longer clears the loaded node details

Fixes #1302
2016-04-14 18:02:03 +02: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
Tom Wilkie 31a90c76c4 Update to go 1.6.1 2016-04-13 13:29:34 +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
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