Roland Schilter
debbb95cee
Merge pull request #2605 from weaveworks/downgrade-d3transition-deps
...
Fix zoom for `npm start`
2017-06-19 10:59:05 +02:00
Matthias Radestock
b34cfe3f15
Merge pull request #2613 from weaveworks/faster-known-service-match
...
faster matching of known services
2017-06-19 09:47:21 +01:00
Alfonso Acosta
334d5714be
Merge pull request #2582 from sjitech/user_namespace_aware
...
fix error when docker DAEMON is running with user namespace enabled.
2017-06-19 10:42:41 +02:00
Matthias Radestock
0d0414d348
faster matching of known services
...
We hit this code *a lot* during rendering.
2017-06-18 16:02:34 +01:00
Alfonso Acosta
8c0c20f289
Merge pull request #2604 from weaveworks/2577-ipv6-disabled-proc
...
Do not read tcp6 files if TCP version 6 isn't supported
2017-06-16 15:10:14 +02:00
Roland Schilter
64ba2b2a89
Fix zoom for npm start
...
Pins d3-transition and d3-drag dependencies which were previously
pulled in as deps from d3zoom as version 1.1.0 each. This broke
the zoom feature for `npm start`.
Fixes #2545
2017-06-15 23:29:15 +02:00
Alfonso Acosta
62f2c0920f
Do not read tcp6 files if TCP version 6 isn't supported
2017-06-15 10:16:14 +00:00
Filip Barl
0869d26ec4
Moved highlighted nodes/edges info to selectors ( #2584 )
...
* Use selector for highlighted nodes.
* Use selector for highlighted edges.
2017-06-14 11:11:59 +02:00
Roland Schilter
3ad629b797
Merge pull request #2593 from weaveworks/elide-url-passwords
...
Elide token-only credentials in cli arguments
2017-06-13 18:21:11 +02:00
Roland Schilter
11355bbf4b
Elide token-only credentials in cli arguments
...
Follow-up of #2568
2017-06-13 13:14:09 +02:00
Mike Lang
f403d01885
Forgot to include daemonsets in renderKubernetesTopologies
...
Yay, needing to remember 10 different obscure places to add a new topology every time.
2017-06-12 10:13:54 -07:00
Matthias Radestock
45aee2b2c4
Merge pull request #2581 from weaveworks/trim-endpoint-latest
...
drop addr and port from Endpoint.Latest map
2017-06-12 10:30:50 +01:00
Filip Barl
b6dfe25499
Time travel control ( #2524 )
...
* Hacky working prototype.
* Operate with time.Duration offset instead of fixed timestamp.
* Polished the backend code.
* Made a nicer UI component.
* Small refactorings of the websockets code.
* Fixed the backend tests.
* Better websocketing and smoother transitions
* Small styling refactoring.
* Detecting empty topologies.
* Improved error messaging.
* Addressed some of David's comments.
* Moved nodesDeltaBuffer to a global state to fix the paused status rendering bug.
* Small styling changes
* Changed the websocket global state variables a bit.
* Polishing & refactoring.
* More polishing.
* Final refactoring.
* Addressed a couple of bugs.
* Hidden the timeline control behind Cloud context and a feature flag.
* Addressed most of @davkal's comments.
* Added mixpanel tracking.
2017-06-12 11:22:17 +02:00
jjqq
8fa771e7d4
fix error when docker DAEMON is running with user namespace enabled.
...
1:mkdir: can't create directory '/var/run/scope/': Permission denied
2017-06-12 17:55:58 +09:00
Matthias Radestock
afbc1decab
drop addr and port from Endpoint.Latest map
...
the information is constant and already present in the id, so we can
extract it from there.
That reduces the report size and improves report encoding/decoding
performance. It should reduce memory usage too and improve report
merging performance too.
NB: Probes with this change are incompatible with old apps.
2017-06-10 19:19:56 +01:00
Alfonso Acosta
70af2aac84
Merge pull request #2579 from weaveworks/2578-retarget-client
...
re-target app clients when name resolution changes
2017-06-09 15:05:39 +02:00
Matthias Radestock
c8f97878d2
re-target app clients when name resolution changes
...
Fixes #2578 .
2017-06-09 12:30:26 +01:00
Matthias Radestock
fb735b65c4
cosmetic: correct comment
2017-06-09 11:31:20 +01:00
Matthias Radestock
32735d868e
Merge pull request #2572 from weaveworks/observed-gen-is-number
...
correct type for "Observed Gen."
2017-06-08 20:47:29 +01:00
Alfonso Acosta
6913d49b00
Merge pull request #2575 from weaveworks/app-capabilites
...
Add app capabilities to /api endpoint
2017-06-08 18:40:34 +02:00
Roland Schilter
5ef7bd151a
es6ify server.js and include in eslint ( #2560 )
2017-06-08 18:39:53 +02:00
Roland Schilter
b78745f615
Execute tests in the prog/ directory ( #2567 )
...
Also fixed prog/main_test.go (which has never been part of the test suite so far)
2017-06-08 15:41:53 +02:00
Alfonso Acosta
7e7386a3fe
Review feedback
2017-06-08 13:35:03 +00:00
Alfonso Acosta
6be7aa8be2
Add app capabilities to /api endpoint
2017-06-08 11:02:25 +00:00
Matthias Radestock
d0b40ee4b9
correct type for "Observed Gen."
...
It's a number. This enables numeric sorting of Observed Gen in the
table mode of the Deployment and Replicaset views.
2017-06-08 04:27:10 +01:00
Roland Schilter
2e4f4a3771
Elide url passwords in cli arguments ( #2568 )
...
Closes #2365
2017-06-07 10:18:18 +01:00
Roland Schilter
56cb02675b
Back off upon errored kubernetes api requests ( #2562 )
...
closes #1009
2017-06-06 16:19:41 +02:00
Roland Schilter
f427077e85
Merge pull request #2563 from weaveworks/makefile-find-wildcard
...
Fix incomplete dependencies for `make scope/prog`
2017-06-05 22:11:46 +01:00
Roland Schilter
1c4f0036cf
Fix incomplete dependencies for make scope/prog
...
It seems that on my OS the passed param to find gets expanded early and
thus the command
$(shell find ./ -path ./vendor -prune -o -type f -name *.go)
results in
./test.go ./vendor
instead of including all the go files from subdirs. Quoting helps.
2017-06-05 15:56:16 +01:00
Roland Schilter
3933c36f8f
Merge pull request #2555 from weaveworks/bump-scopeui-version
...
bump package.json version to current scope version
2017-06-05 14:08:41 +02:00
Matthias Radestock
d1489d4d85
Merge pull request #2561 from weaveworks/parallel-reduce
...
execute reducer branches in parallel
2017-06-05 12:50:20 +01:00
Matthias Radestock
912c684e65
optimise memoisation for parallel execution
...
don't start the same piece of work twice
2017-06-05 10:30:11 +01:00
Matthias Radestock
91d3497f7d
parallelise 'reduce'
2017-06-05 08:44:17 +01:00
Matthias Radestock
6eaffb44e0
fix bug: handle short-lived ebpf-tracked connections again
...
This got broken in #2559 .
The problem here is similar to #2551 .
2017-06-04 18:42:54 +01:00
Matthias Radestock
f574162f64
Merge pull request #2559 from weaveworks/simplify-connection-join
...
simplify connection join
2017-06-04 16:30:09 +01:00
Matthias Radestock
30c38a958f
remove blatant falsehoods from comments
2017-06-04 16:23:03 +01:00
Matthias Radestock
ebcf9dcf10
refactor: rename ShortLivedConnectionJoin to ConnectionJoin
...
since it's dealing with *all* connections, not just short-lived ones.
2017-06-04 16:10:21 +01:00
Matthias Radestock
9bc7b30f0f
extract and expand endpoint procspied filter
...
The filter needs to exclude both procspied and eBPF-tracked endpoints,
since both will be picked up by the process topology.
2017-06-04 16:10:21 +01:00
Matthias Radestock
707add13a3
refactor: simplify some filters
2017-06-04 16:10:21 +01:00
Matthias Radestock
ee0736df69
refactor: extract constant mapEndpoint2IP
2017-06-04 16:10:21 +01:00
Matthias Radestock
6697f4a897
refactor: declosure ShortLivedConnectionJoin
2017-06-04 16:10:21 +01:00
Matthias Radestock
b29602f33a
Merge pull request #2557 from weaveworks/dont-read-all-of-proc
...
don't read all of /proc when probe.proc.spy=false
2017-06-04 14:48:54 +01:00
Alfonso Acosta
e4f5537529
Merge pull request #2535 from weaveworks/2441-enable-ebpf-by-default
...
Enable eBPF tracking by default
2017-06-04 15:46:07 +02:00
Matthias Radestock
ff4a4c08ce
refactor: remove pointless optimisation
2017-06-04 10:36:55 +01:00
Matthias Radestock
59f777a066
don't read all of /proc when probe.proc.spy=false
...
Previously we were doing the reading even though we weren't looking at
the result.
2017-06-02 14:01:25 +01:00
Roland Schilter
a1e58c13e5
bump package.json version to current scope version
2017-06-01 18:24:58 +02:00
Alfonso Acosta
b2e6b97aa8
Fix ebpf-connection checking
2017-05-31 15:10:52 +00:00
Alfonso Acosta
71e035665b
Adjust integration tests
2017-05-31 10:04:52 +00:00
Alfonso Acosta
7ca8749b18
Enable eBPF tracking by default
2017-05-31 10:04:52 +00:00
Matthias Radestock
06bb5157f8
Merge pull request #2548 from weaveworks/nodeset-unsorted-foreach
...
optimise: don't sort in NodeSet.ForEach
2017-05-30 14:54:13 +01:00