Commit Graph

3670 Commits

Author SHA1 Message Date
abuehrle
4967ffe7e3 add space 2017-03-30 22:50:23 -06:00
abuehrle
1568fd0313 missed an anchor 2017-03-30 22:47:43 -06:00
abuehrle
adc026b54f removed h1 2017-03-30 07:22:18 -06:00
abuehrle
077c372975 renamed file 2017-03-30 07:21:17 -06:00
Alfonso Acosta
9f5b689c46 Merge pull request #2350 from kinvolk/schu/dialer-perf
extras/dialer updates and fixes
2017-03-30 08:59:10 +02:00
Alban Crequy
ddf654fdf2 extras/dialer: updates and fixes
* remove randomness as far as possible
* make listener to close connections
* report time in a csv-friendly format
* remove tools from README
* rename time-scope-probe -> time-scope-probe-proc
* add time-scope-probe-cgroup
2017-03-30 07:30:28 +02:00
Alfonso Acosta
c3a4496341 Merge pull request #2257 from errordeveloper/update-install-docs
Update install docs
2017-03-30 01:11:37 +02:00
Anita Buehrle
92280c6f95 Merge pull request #2307 from weaveworks/add-amidocs
Add AMI docs into main docs, modified weave token instructions in one place
2017-03-29 14:48:35 -06:00
abuehrle
3e8e469069 update ids for AMIs 2017-03-29 14:17:59 -06:00
abuehrle
c7d60293bc updated version numbers 2017-03-29 10:02:22 -06:00
Alfonso Acosta
1e464a1249 Merge pull request #2411 from kinvolk/iaguis/update-tcptracer
Update tcptracer-bpf and re-enable test 311
2017-03-29 16:54:48 +02:00
Iago López Galeiras
df9de11643 Revert "integration test: disable flaky test 311"
This reverts commit d1467b67a4.
2017-03-29 15:57:32 +02:00
Iago López Galeiras
7541ad9c9c vendor: bump tcptracer-bpf
We found out we were losing kretprobes sometimes because maxactive was set too
low[1]. This problem was more apparent in our GCE test environment because
the kernel was configured with `CONFIG_PREEMPT` not set and we're running
single-core VMs (see https://github.com/weaveworks/tcptracer-bpf/issues/24 for
more details).

Unfortunately, we can't set the maxactive explicitly from userspace. Alban
submitted a kernel patch to allow this[2].

This bumps tcptracer-bpf to include a workaround[3] for this issue in the
guess-offsets phase.

[1]: https://github.com/weaveworks/tcptracer-bpf/issues/24
[2]: https://lkml.org/lkml/2017/3/28/629
[3]: https://github.com/weaveworks/tcptracer-bpf/pull/33
2017-03-29 15:57:25 +02:00
Filip Barl
43720bd7c7 Show sublabel in tooltip for Internet nodes in table view mode (#2410)
* Show sublabel in tooltip for Internet nodes in table view.

* Improves fake internet node from debug-toolbar.
2017-03-28 16:42:17 +02:00
Simon
124c35d4a9 Merge pull request #2409 from weaveworks/2408-fixes-loading-viewstate-from-localstorage
Fixes loading of viewState from localStorage into URL
2017-03-28 15:49:48 +02:00
Simon Howe
2c61635347 Fixes loading of viewState from localStorage into URL
Needed another serialization to avoid "[Object object]" in the url.
2017-03-28 14:53:35 +02:00
Filip Barl
b2f06a63ee Don't reset zoom on refresh layout. (#2407) 2017-03-28 14:30:23 +02:00
Filip Barl
3e039a3143 Hide the opened help panel when clicking on the search bar icon. (#2406) 2017-03-28 13:04:41 +02:00
Jordan Pellizzari
2ee4dac97b Merge pull request #2405 from weaveworks/detect-old-options
Add check for old options
2017-03-27 19:41:07 -07:00
jpellizzari
24e56dfe78 Add check for old options 2017-03-27 18:57:33 -07:00
Jordan Pellizzari
984092f826 Merge pull request #2400 from weaveworks/release-1.3
Release 1.3.0
2017-03-27 15:02:48 -07:00
Jordan Pellizzari
066e80d60d Merge pull request #2382 from weaveworks/2378-nan-path
Add default values for edge waypoints
2017-03-27 14:31:17 -07:00
jpellizzari
aced163601 Bumped packge.json version 2017-03-27 14:15:33 -07:00
Jordan Pellizzari
1f390567d2 Merge pull request #2403 from weaveworks/2402-download-json
Fix for incorrect report.json URL in cloud
2017-03-27 14:12:36 -07:00
jpellizzari
6054c3f4be Updated docs and changelog 2017-03-27 13:54:04 -07:00
Filip Barl
a489c9d9d3 Update CHANGELOG.md 2017-03-27 13:54:04 -07:00
Filip Barl
4158fb1474 Keep the resource metric pinned on mouse out 2017-03-27 13:54:04 -07:00
Alfonso Acosta
4f462b9139 Release 1.3.0 2017-03-27 13:54:04 -07:00
Jordan Pellizzari
68b3f2abf5 Merge pull request #2404 from weaveworks/1421-multiple-namespaces
Allow the user to view multiple Kubernetes namespaces at once
2017-03-27 13:53:05 -07:00
Mike Lang
96494d92c5 api_topologies: Fix tests
Tests relied on url param defaults, which no longer work
2017-03-27 12:55:34 -07:00
jpellizzari
8e20ae5ac2 Added logic to default to noneLabel when no options are selected 2017-03-27 12:53:11 -07:00
jpellizzari
9bccc9918e Added noneLabel button to topology options 2017-03-27 12:53:10 -07:00
jpellizzari
bdea399a5a Fix for incorrect report.json URL in cloud 2017-03-27 12:32:30 -07:00
Mike Lang
9e1666cb49 api_topologies: Change semantics of blank or omitted option values
Instead of value being "" or omitted meaning "use group.Default", we now allow the empty value
to go through. This was done to allow multi-value options to be able to encode 'no options selected'.
This is important as the alternative is very confusing, as 'nothing selected' would generally mean
'match everything', not 'select default' (which in the k8s namespace example, means the "default" namespace).

Since the UI is the only user of this API, and it already sends the default value always, this does not affect
any existing usage.

Since the UI still wants to show a 'match all' button to prevent confusion, but it's not a normal option
(if it were a normal option, it could be combined with others, which isn't meaningful), we add a new key
NoneLabel that indicates the name that should be displayed on this extra button.

Finally, we implement these changes for the k8s namespace button, ie.
- Get rid of All Namespaces option
- Add "All Namespaces" as the NoneLabel
- Default to "" when "default" namespace not present, which is equivalent to the old "all" option.
2017-03-27 10:06:56 -07:00
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