Commit Graph
3624 Commits
Author SHA1 Message Date
Mike Lang bfb68a54a9 api_topologies: Allow selecting multiple k8s namespace filters
This is the first usage of the new 'union' selectType.
Note that we're still sending 'all' for now. There's currently no easy
way to specify this meaning, and arguably it should be done entirely clientside.
But for now it just means some UI weirdness where 'all' is one of the options and having it on
means anything else you select doesn't matter.
2017-03-27 10:06:56 -07:00
Mike Lang efb68fb2da api_topologies: Add a selectType field to option groups
This field changes the option group behaviour depending on its value.
Currently only supports two values:
"one" (default): Old behaviour, one option can be selected
"union": Any number of options can be selected, and the filters are OR-ed togther

It is written in such a way as to easily enable a future "intersection" option,
as per union but AND-ing the filters. But this is not done here. YAGNI.
2017-03-27 10:06:56 -07:00
jpellizzari fff47ee609 Added 'addOrRemove' flag to change topology action 2017-03-27 10:06:56 -07:00
jpellizzari 4612738580 Added comma-separated URL params 2017-03-27 10:06:56 -07:00
jpellizzari 454acdd999 Changed option value to list 2017-03-27 10:05:49 -07:00
jpellizzari 828d50fba0 unit test added 2017-03-27 10:04:28 -07:00
jpellizzari 1616f72ff6 Removed trigger job from circle.yml 2017-03-27 08:13:58 -07:00
Jordan Pellizzari 37dc6ebc06 Merge pull request #2394 from weaveworks/scope-version-service-ui
Add version to Scope UI module S3 path
2017-03-27 07:48:13 -07:00
Jordan Pellizzari 6608b79c17 Added Scope version to S3 module path 2017-03-25 10:49:40 -07:00
Filip Barl 6a43afecf2 Merge pull request #2395 from weaveworks/fix-search-fetch-all-topologies
Using `doRequest` when fetching nodes of multiple topologies
2017-03-25 13:36:20 +01:00
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