Commit Graph
5543 Commits
Author SHA1 Message Date
Bryan Boreham 2941850a75 performance: in connection tracker, hold IP addresses in binary rather than strings
This is more compact, and saves effort converting to and from the string format.
2019-09-25 20:15:05 +00:00
Akash Srivastava ca420b07aa Merge pull request #3687 from weaveworks/refactor-reading
Refactor report reading
2019-09-24 12:26:01 +05:30
Akash Srivastava 14d4ecc3e8 Merge pull request #3692 from weaveworks/go-1-13
Bump Go version to 1.13.0
2019-09-23 18:08:35 +05:30
Bryan Boreham 4365d3ba35 Bump Go version to 1.13.0 2019-09-23 10:43:37 +00:00
Bryan Boreham ad34c5fd26 refactor: camlistore lru package moved location 2019-09-23 10:43:17 +00:00
Satyam Zode e7e9e97943 Merge pull request #3606 from weaveworks/update-gopacket
Update google/gopacket library
2019-09-23 16:11:08 +05:30
Bryan Boreham 13af359bcf refactor: eliminate report.ReadBinary() in favour of MakeFromBinary()
The signature of MakeFromFile changed to return a pointer for
consistency.
2019-09-23 10:01:43 +00:00
Akash Srivastava a808eb2247 Merge pull request #3691 from weaveworks/kube-v1
Move to Kubernetes 'v1' APIs
2019-09-23 12:05:59 +05:30
Bryan Boreham d375f3c07d chore(example): update example Kubernetes app to apps/v1 2019-09-21 16:00:58 +00:00
Bryan Boreham 17c1aaa131 chore(probe): for Kubernetes 1.16 move to 'v1' APIs
Scope will no longer work with Kubernetes 1.8 and below.

For CronJob there is no 'v1' as yet, but we can remove the alpha
version.
2019-09-21 15:52:34 +00:00
Bryan Boreham 9208e08bf3 Change dns snooper timeout to avoid spinning in pcap
The previous code seems to be relying on a 64-bit to 32-bit conversion
working in a certain way; when gopacket was changed to cast the value
explicitly it starts returning immeditely from pcap.
2019-09-20 14:32:53 +00:00
Filip Barl 2a909f3976 Merge pull request #3690 from weaveworks/3685-update-ui-build-tag
Update CircleCI scope-ui-build tag
2019-09-20 13:32:17 +02:00
Filip Barl 652a9f9914 Update the scope-ui-build tag for the CircleCI build to the latest master image 2019-09-20 11:32:21 +02:00
Filip Barl d1bb02176a Merge pull request #3685 from weaveworks/js-updates
Update javascript libraries in various places
2019-09-20 11:23:49 +02:00
Filip Barl 56f2fac487 Update the scope-ui-build tag for the CircleCI build 2019-09-20 10:48:17 +02:00
Daniel Holbach d3522986ea update babel and jest bits - need to update node version too 2019-09-20 10:48:17 +02:00
Daniel Holbach 5eb67c54fc update eslint things
keep eslint-config-airbnb version, newer version requires
	changes in our code
2019-09-20 10:48:17 +02:00
Daniel Holbach df0fc88d63 update babel bits 2019-09-20 10:48:17 +02:00
Daniel Holbach e3dc53bd02 update stylelint components 2019-09-20 10:48:17 +02:00
Bryan Boreham 07d3dfd45c Update google/gopacket library
To pick up a fix https://github.com/google/gopacket/pull/589 for Go 1.12
2019-09-20 07:51:50 +00:00
Bryan Boreham abc7548033 Merge pull request #3689 from weaveworks/release-1.11
Release 1.11.6
2019-09-19 15:53:48 +01:00
Bryan Boreham 87504d9f7c Release 1.11.6 v1.11.6 2019-09-19 13:27:42 +00:00
Akash Srivastava 4b6b12d2c8 Merge pull request #3688 from weaveworks/fix-testregdelete-flake
fix(test-flake): poll for result in TestRegistryDelete() to avoid race
2019-09-19 16:39:50 +05:30
Bryan Boreham f675c87826 Merge pull request #3680 from weaveworks/remove-old-control-code
refactor: remove old unnecessary controls code
2019-09-19 09:32:19 +01:00
Bryan Boreham 49dfd98c94 fix(test-flake): poll for result in TestRegistryDelete() to avoid race
Remove the `runtime.GoSched()` that doesn't guarantee anything.
2019-09-18 21:32:44 +00:00
Bryan Boreham 71a359e1d7 Merge pull request #3679 from weaveworks/probe-unsafe-merge
perf(probe): reduce copying of nodes
2019-09-18 15:56:06 +01:00
Bryan Boreham 6ee9738581 Merge pull request #3686 from weaveworks/analyze-reports
feature(app): Add a debugging summary function, exposed via http
2019-09-18 15:54:50 +01:00
Bryan Boreham 20c378dce5 docs: Added admin/summary to the faq 2019-09-18 14:47:26 +00:00
Bryan Boreham 57918b0ac5 formatting 2019-09-18 14:43:49 +00:00
Bryan Boreham a7d3cbedb5 lint: make lint happy 2019-09-18 14:42:47 +00:00
Bryan Boreham e9f0f90ca0 Merge pull request #3677 from weaveworks/delta-reports
perf(probe): publish delta reports to reduce data size
2019-09-18 12:10:30 +01:00
Bryan Boreham 395282b043 help: add note on constraint to -full-report-every argument 2019-09-18 11:09:49 +00:00
Bryan Boreham da030d1618 test: add TestReportUnMerge()
Testing the new delta-report internals
2019-09-18 08:01:13 +00:00
Bryan Boreham 951629af29 chore: allow Report.DNS field to be nil
Primarily to help when writing tests; may give a tiny performance benefit.
2019-09-18 08:00:28 +00:00
Bryan Boreham b6d5594f9f perf(probe): publish delta reports to reduce data size
Similar to video compression which uses key-frames and differences
between them: every N publishes we send a full report, but inbetween
we only send what has changed.

Fairly simple approach in the probe - hold on to the last full report,
and for the deltas remove anything that would be merged in from the
full report.

On the receiving side in the app it already merges a set of reports
together to produce the final output for rendering, so provided N is
smaller than that set we don't need to do anything different.

Deltas don't need to represent nodes that have disappeared - an
earlier full node will have that node so it would be merged into the
final output anyway.
2019-09-18 08:00:28 +00:00
Bryan Boreham eff5a1f9f7 Refactor: pull Publish() call up to publishLoop() 2019-09-18 08:00:28 +00:00
Bryan Boreham 938d59489c Merge pull request #3682 from weaveworks/websocket-tracing
Websocket tracing spans
2019-09-17 16:36:48 +01:00
Bryan Boreham a811afdba1 Merge pull request #3678 from weaveworks/nodes-omitempty
perf(probe): add 'omitempty' tag to Topology.Nodes
2019-09-17 16:25:52 +01:00
Bryan Boreham 5ffb563051 refactor: eliminate ReadBytes() function that is only called once 2019-09-17 10:55:44 +00:00
Bryan Boreham 2bbd4a3f0d refactor: remove MakeFromBytes() function which is almost the same as ReadBinary() 2019-09-17 10:55:44 +00:00
Bryan Boreham 3f8ba95bea refactor: pass msgpack flag into ReadBinary
instead of a codec.Handle.  This is a cleaner dependency.
2019-09-17 10:55:44 +00:00
Bryan Boreham 11e76f1740 feature(app): Add a debugging summary function, exposed via http
URL is /admin/summary
2019-09-17 10:48:23 +00:00
Bryan Boreham 4e8000cbba review feedback: better tracing info 2019-09-16 11:08:42 +00:00
Bryan Boreham b0915519df refactor: move websocket state out to a struct to neaten up the send loop 2019-09-16 11:03:02 +00:00
Akash Srivastava c143099412 Merge pull request #3683 from weaveworks/fix-codeowners
fix(github): give all code owners equal weight
2019-09-16 16:00:55 +05:30
Bryan Boreham 73984a4a8b fix(github): give all code owners equal weight 2019-09-16 09:42:54 +00:00
Akash Srivastava 59ffac613e Merge pull request #3681 from weaveworks/update-netlink
perf(probe): update netlink library to bring in performance improvements
2019-09-16 13:18:29 +05:30
Akash Srivastava 0203757cf5 Merge pull request #3675 from weaveworks/reduce-probe-dependency
Stop render package depending on probe
2019-09-16 12:56:56 +05:30
Akash Srivastava b636107ef7 Merge pull request #3674 from weaveworks/remove-unused-strings
Remove some unused string constants
2019-09-16 12:54:06 +05:30
Bryan Boreham 04af634065 tracing(app): set a tag for userid on awsCollector.Report 2019-09-15 19:22:08 +00:00