Commit Graph

3614 Commits

Author SHA1 Message Date
Filip Barl
ddb65347c9 Make a doRequest instead of fetch. 2017-03-24 21:31:44 +01:00
Filip Barl
32988c06d2 Merge pull request #2390 from weaveworks/fix-resource-view-not-loading-topologies
Fetch resource view topologies on first topologies load
2017-03-24 19:11:38 +01:00
Filip Barl
f633c6edb1 Fetch the resource view topologies on first topologies load 2017-03-24 18:45:58 +01:00
Filip Barl
69fd397217 Initial version of the resource view (#2296)
* Added resource view selector button

* Showing resource boxes in the resource view

* Crude CPU resource view prototype

* Improved the viewMode state logic

* Extracted zooming into a separate wrapper component

* Split the layout selectors between graph-view and resource-view

* Proper zooming logic for the resource view

* Moved all node networks utils to selectors

* Improved the zoom caching logic

* Further refactoring of selectors

* Added sticky labels to the resource boxes

* Added panning translation limits in the resource view

* Renamed GridModeSelector -> ViewModeSelector

* Polished the topology resource view selection logic

* Search bar hidden in the resource view

* Added per-layer topology names to the resource view

* Made metric selectors work for the resource view

* Adjusted the viewport selectors

* Renamed viewport selector to canvas (+ maximal zoom fix)

* Showing more useful metric info in the resource box labels

* Fetching only necessary nodes for the resource view

* Refactored the resource view layer component

* Addressed first batch UI comments (from the Scope meeting)

* Switch to deep zooming transform in the resource view to avoid SVG precision errors

* Renamed and moved resource view components

* Polished all the resource view components

* Changing the available metrics selection

* Improved and polished the state transition logic for the resource view

* Separated zoom limits from the zoom active state

* Renaming and bunch of comments

* Addressed all the UI comments (@davkal + @fons)

* Made graph view selectors independent from resource view selectors
2017-03-24 14:51:53 +01:00
Alfonso Acosta
8814e856e0 Merge pull request #2338 from weaveworks/2324-exclude-pause-from-k8s
Exclude pause containers when rendering k8s topologies
2017-03-23 23:48:17 +01:00
Mike Lang
873e6a68c7 Merge pull request #2362 from weaveworks/mike/k8s-ns-in-container-view
When k8s present, allow filtering of containers by namespace (take 2)
2017-03-23 12:12:14 -07:00
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
Mike Lang
c06e7582cb api_topologies k8s filters: some minor refactoring for niceness 2017-03-21 15:43:30 -07: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
Mike Lang
b61d7027af Fix various sources of mutation instead of copying in k8s filter merging code
This was causing a large number of repeated appending of the same option group
2017-03-20 15:05:12 -07:00
Mike Lang
da8b8d5095 Revert "Revert "Merge pull request #2285 from weaveworks/mike/k8s-ns-in-container-view""
This reverts commit d55c528fe2.
2017-03-20 10:05:10 -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