Commit Graph

4239 Commits

Author SHA1 Message Date
Filip Barl
569757c1c0 Fixed header elements responsiveness. 2017-08-31 13:50:31 +02:00
Alfonso Acosta
d887d58465 Merge pull request #2834 from weaveworks/release-1.6
Release 1.6.3
2017-08-25 12:46:38 +02:00
Filip Barl
a00dbab832 Merge pull request #2828 from weaveworks/update-topology-data-when-time-travelling
Update topologies and namespaces when time travelling
2017-08-25 10:08:32 +02:00
Alfonso Acosta
3557410cb2 Update documentation to 1.6.3 v1.6.3 2017-08-24 18:28:18 +00:00
Alfonso Acosta
8220e46998 Update CHANGELOG for 1.6.3 2017-08-24 18:25:42 +00:00
Alfonso Acosta
c264b81922 Merge pull request #2833 from weaveworks/release-1.6
Release 1.6.2
2017-08-24 18:47:33 +02:00
Filip Barl
f8343c189d Added one more comment. 2017-08-24 18:14:43 +02:00
Filip Barl
16e520da5e Proper handling of namespace selection when time travelling. 2017-08-24 18:11:46 +02:00
Filip Barl
c159315245 Split between topology API polling & one time calls. 2017-08-24 18:11:46 +02:00
Filip Barl
1e68eec649 Merge pull request #2812 from weaveworks/unified-zooming-sensitivity
Unified zooming sensitivity
2017-08-24 18:05:01 +02:00
Filip Barl
065c2b11d6 Addressed small @foot's comments. 2017-08-23 16:41:17 +02:00
Filip Barl
a51d34f1e5 Introduced translation limits to the graph view. 2017-08-23 15:04:50 +02:00
Filip Barl
297e21d42c Removed d3-zoom reference in package.json. 2017-08-23 15:04:50 +02:00
Filip Barl
a185ae4e15 Introduced hand cursor and unified ZoomableCanvas usage. 2017-08-23 15:04:50 +02:00
Filip Barl
f11a9d3614 Working prototype with internal zooming/panning handlers. 2017-08-23 15:04:50 +02:00
Jordan Pellizzari
7abb05cb77 Merge pull request #2830 from weaveworks/node-8
Use Node 8.4 for builds
2017-08-22 11:01:02 -07:00
jpellizzari
659759fdfd Use Node 8.4 for builds 2017-08-21 13:47:31 -07:00
Matthias Radestock
86292acf47 micro refactor: save a line, narrow scope 2017-08-18 19:28:36 +01:00
Matthias Radestock
8fe3538443 Merge pull request #2735 from kinvolk/alban/bpf-restart
restart eBPF tracking on error

fixes #2650
2017-08-18 13:23:20 +01:00
Roland Schilter
7b7b643797 Fix processes/hosts table not appearing (#2824) 2017-08-17 17:35:10 +01:00
Alban Crequy
93ca8b83ed vendor: update tcptracer-bpf and gobpf
This includes:

- https://github.com/iovisor/gobpf/pull/70
  perf: close go channels idiomatically

- https://github.com/iovisor/gobpf/pull/70
  close channels on the sender side & fix closing race

- https://github.com/weaveworks/tcptracer-bpf/pull/50
  vendor: update gobpf
2017-08-17 17:55:09 +02:00
Alban Crequy
af14cf796d integration test: restart EbpfTracker 2017-08-17 16:39:27 +02:00
Alban Crequy
9c53653997 EbpfTracker: restart it when it dies
EbpfTracker can die when the tcp events are received out of order. This
can happen with a buggy kernel or apparently in other cases, see:
https://github.com/weaveworks/scope/issues/2650

As a workaround, restart EbpfTracker when an event is received out of
order. This does not seem to happen often, but as a precaution,
EbpfTracker will not restart if the last failure is less than 5 minutes
ago.

This is not easy to test but I added instrumentation to trigger a
restart:

- Start Scope with:
    $ sudo WEAVESCOPE_DOCKER_ARGS="-e SCOPE_DEBUG_BPF=1" ./scope launch

- Request a stop with:
    $ echo stop | sudo tee /proc/$(pidof scope-probe)/root/var/run/scope/debug-bpf
2017-08-17 16:39:27 +02:00
Matthias Radestock
1586deb00a Merge pull request #2820 from weaveworks/refactor-links-test
refactor: reduce duplication in links_test
2017-08-16 18:33:10 +01:00
Anita Buehrle
5a2329c19a Merge pull request #2816 from weaveworks/fix-note-pin
remove extra indent on note
2017-08-16 12:21:05 -05:00
abuehrle
b3823399fc remove space to match weave net convention 2017-08-16 12:01:43 -05:00
Matthias Radestock
7520713dc4 refactor: reduce duplication in links_test 2017-08-16 17:28:14 +01:00
Roland Schilter
f26c875c4c Filter by namespace in metric queries (#2819)
And get rid of B -> MB conversion

Fixes #2817
2017-08-16 17:08:51 +01:00
abuehrle
009976fa9a add space after for note pin 2017-08-16 08:05:07 -05:00
abuehrle
a2fbfcc095 add a space after 2017-08-16 07:46:53 -05:00
abuehrle
db17d9548c remove extra indent on note 2017-08-16 07:30:37 -05:00
Roland Schilter
b69ce340f8 scope/cortex: fix typo in query filter (#2815)
* scope/cortex: fix typo in query

* Get rid of the "controllers" code

They do not all share the same queries.
2017-08-16 10:46:49 +01:00
Roland Schilter
0d381a34d6 Link scope-ui graphs clickable to prometheus queries (#2664)
scope-app:
* Adds `-app.metrics-graph` cli flag for configuring the base url to
use for graph links; supports :orgID and :query placeholders
* Assigns query URLs to existing metrics and appends empty metrics if missing

scope-ui:
* Extends <CloudFeature /> with option alwaysShow
* Adds <CloudLink /> to simplify routing when in cloud vs not in cloud
* Links metric graphs in the ui's node details view for all k8s
toplogies and containers so far
* Tracks metric graph click in mixpanel `scope.node.metric.click`
* Uses percentages and MB for CPU/Memory urls
* Passes timetravel timestamp to cortex in deeplink
2017-08-15 18:56:23 +01:00
Alfonso Acosta
4be194d236 Small refactoring leftover from 2017-08-15 12:36:43 +00:00
Roland Schilter
90d0e79e65 Remove whitespace from empty connection lists (#2811) 2017-08-14 18:42:36 +01:00
Alfonso Acosta
c288d8c226 Merge pull request #2810 from weaveworks/1678-refine-scope-launch-urls
Make Scope's URL message more precise
2017-08-14 18:20:50 +02:00
Alfonso Acosta
425033df20 Make sh linter happy 2017-08-14 14:36:02 +00:00
Alfonso Acosta
6b2623b619 Make Scope's URL message more precise 2017-08-14 13:50:21 +00:00
Matthias Radestock
1f87e3dc0a simplify probe.token/service-token usage
Addresses part of #2304.
2017-08-14 12:50:03 +01:00
Filip Barl
ad2e530cdf Merge pull request #2807 from weaveworks/keep-node-details-up-to-date-when-time-travelling
Time Travel: keep active node details panels up-to-date
2017-08-14 10:03:59 +02:00
Filip Barl
a2de44514c Smarter node details transition and polishing the edge cases. 2017-08-11 16:26:07 +02:00
Filip Barl
596885ed81 Improved the node details time transitioning logic 2017-08-11 13:26:42 +02:00
Filip Barl
1b028e1e04 Add fade out transition to node details panel and activate it when switching the top panel. 2017-08-11 12:41:59 +02:00
Matthias Radestock
0b283b0698 Merge pull request #2806 from weaveworks/commutative-network-calc
make network calculation commutative
2017-08-11 10:27:23 +01:00
Filip Barl
badac90ee9 Merge pull request #2801 from weaveworks/dont-resume-time-when-timeline-unmounted
Time Travel: unmount in the shutdown() action
2017-08-10 17:56:28 +02:00
Filip Barl
0c7896222c Exit time travel mode as a part of the app shutdown(). 2017-08-10 16:36:33 +02:00
Filip Barl
f19e4c55cd Resume time works only if previously paused. 2017-08-10 16:01:09 +02:00
Matthias Radestock
7db84aba21 make network calculation commutative 2017-08-10 11:08:42 +01:00
Filip Barl
2a6cbf6e4b Merge pull request #2803 from weaveworks/make-nodes-graph-animations-a-bit-faster
Make nodes graph animations a bit faster
2017-08-10 10:12:21 +02:00
Simon
1e16dd3cb2 Merge pull request #2805 from weaveworks/timetravel-fix-timestamp-width
Fixes timetravel timestamp input getting truncatated on OSX
2017-08-09 19:23:03 +02:00