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
Simon Howe
3ab216b6ea
Fixes timetravel timestamp input getting truncatated on OSX
...
Now supports 88:88:88T88:88:88Z!
2017-08-09 17:58:57 +02:00
Filip Barl
3fe2fbd68e
Make nodes graph animations a bit faster.
2017-08-09 16:10:03 +02:00
Filip Barl
ff6d31442f
Merge pull request #2616 from weaveworks/use-report-persistence-flag-in-the-ui
...
Time Travel: remove the feature flag and make the availability depend on historic reports capability
2017-08-08 15:37:28 +01:00
Filip Barl
0823e2e923
Merge pull request #2795 from weaveworks/improve-firefox-performance
...
Improve Firefox performance
2017-08-08 15:36:10 +01:00
Filip Barl
c29303134a
Fixed the nodes-chart-overlay warnings.
2017-08-08 14:45:59 +01:00
Filip Barl
c131fd1283
Addressed @rndstr's comment.
2017-08-08 14:42:16 +01:00
Filip Barl
f98827698f
Replaced the feature flag with historic reports capability flag.
2017-08-08 14:29:54 +01:00
Filip Barl
322414b51f
Polished the nodes chart overlay.
2017-08-08 10:52:54 +01:00
Filip Barl
855d1cbc6b
Re-enabled all CSS animations.
2017-08-08 10:52:54 +01:00
Filip Barl
d105e7471c
Enabled back some CSS transitions.
2017-08-08 10:52:54 +01:00
Filip Barl
d180437411
Decreased the graph complexity treshold.
2017-08-08 10:52:54 +01:00
Filip Barl
038bbbd5ce
Added a semitransparent layer over the background nodes.
2017-08-08 10:52:54 +01:00
Roland Schilter
656fbac4e6
Fix rendering of exported SVG ( #2794 )
...
Replace invalid characters in attribute value; fixes the error
Unescaped '<' not allowed in attributes values
Fixes #2534
2017-08-08 10:04:22 +01:00
Matthias Radestock
c2053b4163
Merge pull request #2798 from weaveworks/2790-sqs-logging
...
log sqs messages at 'debug' rather than 'info' level
Fixes #2790 .
2017-08-08 08:50:32 +01:00
Filip Barl
d8ffea4781
Balance timeline zooming sensitivity between Firefox and Chrome ( #2788 )
...
* Balanced timeline zooming sensitivity between Firefox and Chrome.
* Organize the wheel delta zooming logic better.
2017-08-07 11:27:12 +02:00
Matthias Radestock
c312579bfe
log sqs messages at 'debug' rather than 'info' level
...
Fixes #2790 .
2017-08-07 10:17:05 +01:00