Commit Graph

3604 Commits

Author SHA1 Message Date
Bryan Boreham
329e5401e6 Merge pull request #2364 from weaveworks/map-decode-optimisations
Map decoding optimisations
2017-03-23 14:25:26 +00:00
Bryan Boreham
97dda9454d Fix mismatched code coverage errors
'codecgen' embeds a random integer in each identifier; this means code
coverage across different CircleCI lanes may not match.
Here we force the integer to 23 on every CircleCI build so they always match.
2017-03-23 13:31:38 +00:00
Bryan Boreham
a884ceae06 Tests need to depend on code generation 2017-03-23 12:25:12 +00:00
Bryan Boreham
b3f53a7a81 Call CodecDecodeSelf() instead of Decode()
This avoids a runtime type lookup, so goes a little faster.
Also having less recursion makes it easier to interpret profiles.
2017-03-23 12:25:12 +00:00
Bryan Boreham
6f80fcd870 Use faster mapRead function everywhere 2017-03-23 12:25:12 +00:00
Alfonso Acosta
179da8b690 Merge pull request #2380 from kinvolk/alban/disable-test-311
integration test: disable flaky test 311
2017-03-23 12:51:00 +01:00
Alban Crequy
d1467b67a4 integration test: disable flaky test 311
Temporarily disable the test. See https://github.com/weaveworks/scope/issues/2379
2017-03-23 12:13:43 +01:00
Jordan Pellizzari
6fc9653583 Merge pull request #2376 from weaveworks/2375-component-ci
Add job to trigger service-ui build
2017-03-22 14:14:35 -07:00
jpellizzari
b8326f417f Added job to trigger service-ui build 2017-03-22 13:00:57 -07:00
Paul Bellamy
9228f7a7fa Container Seconds should not be Container Nanoseconds (#2372) 2017-03-22 17:34:46 +00:00
Jordan Pellizzari
118280a2a8 Merge pull request #2361 from weaveworks/change-instance-fix
Clear client polling and nodes state on dismount
2017-03-22 08:37:01 -07:00
Filip Barl
53212d2cff Merge pull request #2353 from weaveworks/help-panel-fix-height-overflow
Fix help panel fields max height
2017-03-22 14:54:47 +01:00
Paul Bellamy
6102f2a5bc Merge pull request #2359 from weaveworks/kinesis-summary-emitter
Fluent Billing Emitter
2017-03-22 12:05:54 +00:00
Filip Barl
51a8484807 Merge pull request #2355 from weaveworks/hide-save-as-svg-in-table-view
Hide 'Save canvas as SVG' button in Table View
2017-03-22 12:58:59 +01:00
Filip Barl
a94006491e Fix help panel fields max height. 2017-03-22 11:53:43 +01:00
Filip Barl
b52e0ee1e0 Merge pull request #2368 from weaveworks/2090-yarn
Use yarn package manager
2017-03-22 11:46:07 +01:00
Paul Bellamy
e68ffd467e Add app/multitenant/billing_emitter to emit billing events 2017-03-22 10:41:34 +00:00
Alfonso Acosta
f3a9b61cd0 Merge pull request #2366 from kinvolk/schu/ebpf-stop-tracker
endpoint/ebpf: implement stop
2017-03-22 10:17:55 +01:00
Michael Schubert
b49d2e6f9d vendor: update github.com/weaveworks/tcptracer-bpf 2017-03-22 10:07:55 +01:00
jpellizzari
56a4b32d97 Added yarn.lock; changed Docker file to use yarn 2017-03-21 13:51:26 -07:00
jpellizzari
9dfcd213c3 Replaced timely dependency 2017-03-21 12:26:52 -07:00
Alfonso Acosta
4aeeeb80c6 Merge pull request #2335 from weaveworks/2191-improve-weave-net-errors
Improve error reporting when invoking weave script
2017-03-21 17:21:31 +01:00
Alfonso Acosta
3431d64f77 Adapt middleware logger to upstream changes 2017-03-21 15:20:17 +00:00
Michael Schubert
cd25b8b935 endpoint/ebpf: implement stop
Since d60874aca8 `connectionTracker` can
fallback when the `EbpfTracker` died. Hence we only have to stop the
`tracer` in `stop()`.

This commit is also a fixup for d60874aca8
where we do a gentle fallback but never actually stop the tracer to stop
polling.
2017-03-21 14:42:34 +01:00
Alfonso Acosta
2a61656b03 Merge pull request #2346 from kinvolk/alban/integration-test-debug1
integration tests: list containers for debugging
2017-03-21 12:49:37 +01:00
Alfonso Acosta
482a41f88e Bump github.com/weaveworks/common 2017-03-21 11:49:02 +00:00
Bryan Boreham
13fc9f7a6b Merge pull request #2351 from weaveworks/remove-LatestMap
Remove LatestMap, to reduce memory allocation
2017-03-21 10:56:03 +00:00
Alfonso Acosta
d64d66efb8 Merge pull request #2336 from kinvolk/schu/timestamp-fallback
Fallback to proc when ebpf timestamps are wrong
2017-03-21 10:35:22 +01:00
jpellizzari
0f86ad1bed Prevent client polling after shutdown 2017-03-20 18:35:04 -07:00
Jordan Pellizzari
12f4869780 Merge pull request #2358 from weaveworks/2357-docker-mac
Changed --dry-run command to execute after OSX setup
2017-03-20 18:28:56 -07:00
jpellizzari
95c2405b30 Changed --dry-run command to execute after OSX setup 2017-03-20 17:44:38 -07:00
Filip Barl
7583bed567 Hide 'Save canvas as SVG' button in Table View 2017-03-20 14:56:10 +01:00
Bryan Boreham
de97a72661 Remove indirection via LatestMap
Structs like StringLatestMap now use ps.Map directly, which saves
a memory allocation for LatestEntry.Value to point to.
The values in the ps.Map are now pointers, which saves a memory
allocation indirecting a value type to an interface{}
2017-03-20 11:51:04 +00:00
Bryan Boreham
970ab66ea0 Extract map helper functions 2017-03-20 11:50:19 +00:00
Jordan Pellizzari
923dfd385f Merge pull request #2342 from weaveworks/2341-bidrectional-bug
Fix for inaccurate bidrectional edges on edge hover
2017-03-19 18:03:45 -07:00
Jordan Pellizzari
c7f6a07838 Changed client tests to use EDGE_ID_SEPARATOR constant 2017-03-19 17:30:26 -07:00
Mike Lang
286fe6b0be Merge pull request #2348 from weaveworks/mike/revert-k8s-filters
Revert "Merge pull request #2285 from weaveworks/mike/k8s-ns-in-container-view"
2017-03-17 14:29:37 -07:00
Mike Lang
d55c528fe2 Revert "Merge pull request #2285 from weaveworks/mike/k8s-ns-in-container-view"
This reverts commit 76ddc75fb8, reversing
changes made to 3ade2933eb.

We are rolling this back for now because it's causing a bug where sub-topologies
would have ~3000 repeated cases of the k8s filters, causing performance issues clientside.
2017-03-17 14:00:05 -07:00
jpellizzari
451f6b29de Changed edge ID separator 2017-03-17 10:55:32 -07:00
Jordan Pellizzari
93e76a94c1 Fix for inaccurate bidrectional edges on edge hover 2017-03-17 10:55:32 -07:00
Michael Schubert
5572895a2b ebpf_test: tracker set to dead after out of order events 2017-03-17 16:50:25 +01:00
Alban Crequy
904da40fad integration tests: list containers & endpoints for debugging
And when endpoints_have_ebpf() fails to find all endpoints with eBPF,
print an example of endpoint.
2017-03-17 16:50:24 +01:00
Michael Schubert
5262e0765d reader_linux: only access latestBuf when set
.. and avoid nil pointer dereference. It can happen that
`getWalkedProcPid` is called before the first `performWalk` finished.
2017-03-17 14:43:31 +01:00
Michael Schubert
d60874aca8 Fallback to proc when ebpf timestamps are wrong 2017-03-17 14:43:31 +01:00
Alfonso Acosta
ae58cd7710 Fix stderr obtention
* The Stderr pipe should be read before waiting
* The Stderr pipe should not be used with Run/Output. See https://golang.org/pkg/os/exec/#Cmd.StderrPipe:

  Wait will close the pipe after seeing the command exit, so most callers need
  not close the pipe themselves; however, an implication is that it is incorrect
  to call Wait before all reads from the pipe have completed. For the same
  reason, it is incorrect to use Run when using StderrPipe.
2017-03-17 13:20:06 +00:00
Adam Harrison
d5b97f925d Merge pull request #2344 from weaveworks/fix-dynamodb-metric-label
Correct dynamoDB metric label
2017-03-17 06:09:11 -07:00
Adam Harrison
83c073fad0 Correct dynamoDB metric label
Discovered whilst attempting to resolve github.com/weaveworks/service/issues/1157
2017-03-17 12:09:40 +00:00
Jordan Pellizzari
3e2144544b Merge pull request #2340 from weaveworks/2237-scope-urls
Fixed url state copy/paste bug
2017-03-16 15:46:06 -07:00
jpellizzari
5da40d24c3 Fixed url state copy/paste bug 2017-03-16 15:02:06 -07:00
Mike Lang
76ddc75fb8 Merge pull request #2285 from weaveworks/mike/k8s-ns-in-container-view
When k8s present, allow filtering of containers by namespace
2017-03-16 14:56:10 -07:00