Commit Graph

5553 Commits

Author SHA1 Message Date
Oleg Utkin
ae112d05f3 script: replace JSON.stringify with json-stable-stringify
resolves issue #3133
2019-10-06 00:34:43 +03:00
Bryan Boreham
bd9f88b985 Merge pull request #3696 from weaveworks/ebpf-non-strings
handle IP addresses in binary rather than strings
2019-10-04 14:45:15 +01:00
Bryan Boreham
23d8a418e1 performance: network namespace ID is a 32-bit quantity
This shrinks some data-structures slightly.

Citation: https://github.com/torvalds/linux/blob/6f0d349d922b/include/linux/ns_common.h#L10
2019-10-04 13:11:30 +00:00
Bryan Boreham
c6ce47f87d diagnostics: make fourTuple.String() human-readable 2019-10-04 13:09:50 +00:00
Bryan Boreham
7b4fa141d3 fix: add back check on missing namespace in MakeEndpointNodeIDB() 2019-09-27 15:08:31 +00:00
Bryan Boreham
f3183cb3a8 Merge pull request #3697 from weaveworks/change-email-satyamz
Update email address in Maintainers file for Satyam
2019-09-27 15:04:08 +01:00
Satyam Zode
7f1650a0d3 Update email address in Maintainers file
This will update email address to my current email.
2019-09-27 17:31:55 +05:30
Satyam Zode
11a07804a4 Merge pull request #3695 from weaveworks/format-typos
chore: fix typos in debugging format strings
2019-09-26 12:39:05 +05:30
Bryan Boreham
cbbb2ff24c performance: in Docker reporter, reduce IP type conversions.
The code was converting IP addresses to strings and back again.
2019-09-25 20:15:34 +00:00
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
Bryan Boreham
8d9e337a75 chore: fix typos in debugging format strings 2019-09-25 20:08:29 +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