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
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
Matthias Radestock
6679c42c0e
optimise: don't sort in NodeSet.ForEach
...
It's unnecessary, and none of the other ps.Map derived structures do
it.
2017-05-30 13:42:18 +01:00
Matthias Radestock
2c5709b5ae
Merge pull request #2547 from weaveworks/do-not-encode-empty-maps
...
encode empty ps.Maps as nil
2017-05-29 18:31:08 +01:00
Matthias Radestock
94a11ff2e8
encode empty ps.Maps as nil
...
every little helps
2017-05-29 17:50:55 +01:00
Matthias Radestock
e2bccd1d64
Merge pull request #2546 from weaveworks/use_map_helpers
...
Use map helpers
2017-05-29 16:49:30 +01:00
Matthias Radestock
29f2af11d9
introduce mapKeys helper
2017-05-29 14:08:26 +01:00
Matthias Radestock
87d91c55d9
use mapToString where possible
2017-05-29 14:08:26 +01:00
Matthias Radestock
f09be95a43
use mapEqual where possible
2017-05-29 14:08:26 +01:00
Matthias Radestock
b703f4d9bd
add copyreport to .gitignore
2017-05-29 11:07:33 +01:00
Alfonso Acosta
7f7192cf3e
Merge pull request #2541 from weaveworks/2536-close-ebpf-tracker-cleanly
...
Close eBPF tracker cleanly
2017-05-27 08:15:30 +02:00
Matthias Radestock
a132398bfa
Merge pull request #2542 from weaveworks/copyreport
...
add copyreport utility
2017-05-26 16:21:09 +01:00
Matthias Radestock
fa0f4a4d59
add copyreport utility
...
useful for codec and report structure experiments
2017-05-26 15:33:15 +01:00
Matthias Radestock
eb8695965a
refactor: move report file reading
2017-05-26 15:30:17 +01:00
Alfonso Acosta
c70e357998
Bump github.com/weaveworks/tcptracer-bpf/ and github.com/iovisor/gobpf/
2017-05-26 04:44:06 +00:00
Matthias Radestock
be0297d488
Merge pull request #2539 from weaveworks/simplify-connection-tracker-init
...
Simplify connection tracker init and fix procfs scan fallback
2017-05-26 00:06:38 +01:00