Commit Graph

5703 Commits

Author SHA1 Message Date
Bryan Boreham
7c838affaa Release 1.13.0 1.13.0 2020-03-23 15:04:50 +00:00
Bryan Boreham
b2d98dc1f7 Add doc files so 'go clean' can run
If the directories are empty then go modules tries to download them.
2020-03-23 15:04:50 +00:00
Bryan Boreham
3327ca06df Merge pull request #3768 from weaveworks/alpine-3-11-3
Update alpine base image to 3.11.3
2020-03-23 15:02:15 +00:00
Bryan Boreham
d81ccf7466 Update alpine base image to 3.11.3
Note I'm pinning the minor version here, otherwise it can vary
depending on what's on your machine when you build.
2020-03-23 12:56:43 +00:00
Bryan Boreham
1c0ea8cbc6 Merge pull request #3766 from weaveworks/go-1-13-9
Update Go to 1.13.9
2020-03-20 14:29:02 +00:00
Filip Barl
a9a0cdcd57 Merge pull request #3765 from weaveworks/3763-remove-unused-js-deps
Remove unused JS deps from package.json
2020-03-20 15:15:52 +01:00
Bryan Boreham
265e262a65 Update Go to 1.13.9 2020-03-20 14:04:30 +00:00
Filip Barl
3fbc1a9ec5 Remove unused JS deps from package.json 2020-03-20 14:53:13 +01:00
Bryan Boreham
49db8f66cd Merge pull request #3763 from weaveworks/yarn-update
security: update JS dependencies which have notified vulnerabilities
2020-03-20 12:22:49 +00:00
Bryan Boreham
c37e21ed14 security(js-dependency): update minimist to 1.2.2 2020-03-19 12:25:39 +00:00
Bryan Boreham
20227f2cd0 security(js-dependency): update acorn to 7.1.1 2020-03-19 12:25:39 +00:00
Bryan Boreham
c6ec844711 security(js-dependency): update set-value to 2.0.1 2020-03-19 12:25:16 +00:00
Bryan Boreham
ef165af823 security(js-dependency): update mixin-deep to 1.3.2 2020-03-19 12:20:06 +00:00
Bryan Boreham
487769fd11 security(js-dependency): update sshpk to 1.13.2 2020-03-19 12:19:27 +00:00
Bryan Boreham
9d5b395bf4 UI build: removed unused older versions from yarn.lock 2020-03-19 12:05:29 +00:00
Bryan Boreham
6c9c8c88e3 UI-build: deduplicate yarn.lock 2020-03-19 11:54:53 +00:00
Bryan Boreham
8861e524cc Merge pull request #3758 from weaveworks/slow-dns-poll
Slow down DNS poll interval
2020-03-14 10:29:05 +00:00
Bryan Boreham
f8b8a5001e Merge pull request #3760 from sarataha/issues/3741-open-files-format
Remove trailing zeros in large numbers in UI
2020-03-14 10:28:43 +00:00
Sara Taha
7ef0008b4f fix linting issue for trailing spaces 2020-03-13 05:19:20 +02:00
Sara Taha
70a818bff8 remove trailing space 2020-03-13 05:15:08 +02:00
Sara Taha
112fd5616b remove trailing zeros in large numbers in UI
Added ~ option to d3Format which trims trailing zeros across format types.

Fixes #3741
2020-03-13 04:51:44 +02:00
Bryan Boreham
6947cf19da Slow down DNS poll interval
There's no reason to expect anyone is changing their DNS that fast,
and the probe queries all endpoints every time it polls so slowing
down will reduce effort.
2020-03-12 16:54:44 +00:00
Bryan Boreham
12d6ae4da0 Merge pull request #3756 from weaveworks/update-deps
Update billing-client, weaveworks/common, prometheus, protobuf
2020-03-12 10:37:42 +00:00
Daniel Holbach
0649c81998 Merge pull request #3757 from weaveworks/switch-to-master
Switch UI build container back to master, and update more JS deps
2020-03-12 08:11:52 +01:00
Bryan Boreham
f66e91e37f Merge pull request #3748 from weaveworks/move-counters-to-latest
Move Counters into Latest
2020-03-11 21:14:01 +00:00
Bryan Boreham
ba9ecdd9e2 Merge pull request #3752 from weaveworks/report-window
Set timestamp and window on each report
2020-03-11 21:12:02 +00:00
Daniel Holbach
d224674b89 sync deps between ui-components, service-ui and scope 2020-03-11 14:17:06 +01:00
Daniel Holbach
68feb9ae9e switch back to master image 2020-03-11 14:00:48 +01:00
Bryan Boreham
aee14088db Merge pull request #3755 from weaveworks/update-security
Update babel, jest, webpack bits
2020-03-11 12:17:44 +00:00
Bryan Boreham
b121950acf Update startup code to match changes in dependencies 2020-03-10 19:40:16 +00:00
Bryan Boreham
4e624492e9 Update billing-client, weaveworks/common, prometheus, protobuf 2020-03-10 19:39:29 +00:00
Daniel Holbach
795eaab7f5 update Circle CI config with new image too 2020-03-10 14:50:50 +01:00
Bryan Boreham
ffa90719b0 Change containers-by-hostname renderer from Map to Renderer
It was relying on the previous behaviour of Merge() adding up counters.
2020-03-10 13:16:10 +00:00
Bryan Boreham
62d4fbd94e Add a second container to fixture to check counts 2020-03-10 12:30:05 +00:00
Bryan Boreham
c03aeb5d43 Move Counters into Latest
The only place Counters are used is in rendering, for the number of
nodes under a topology, so the overhead of holding a unique data
structure in every Node is unwarranted.

Counters are not set in the probe, so we don't need any
backwards-compatibility in report decoding. Similarly they are not set
until after all nodes are merged, so we don't need that logic.
2020-03-10 12:30:05 +00:00
Bryan Boreham
1ce1ecad7c In unit tests, check counters 2020-03-10 11:30:25 +00:00
Daniel Holbach
8dfd0abbc9 Update babel, jest, webpack bits
This should fix the handlebars and serialize-javascript
	security alerts on GH at least.

	It also updates the node requirement (I think through the
	jest update this was necessary) - somebody should check
	if we can actually make	the jump.
2020-03-10 12:22:35 +01:00
Bryan Boreham
e6eaf11fb6 Merge pull request #3753 from weaveworks/cache-intervals
Cache the last-known report interval per user
2020-03-06 19:13:59 +00:00
Bryan Boreham
53701aca1f Cache the last-known report interval per user
Delta reports don't contain the string we are looking for, so remember
it from the last full report.
2020-03-06 18:03:51 +00:00
Bryan Boreham
72145dc378 Set the Window duration which each report covers
This is used by the multi-tenant code.
2020-03-06 15:43:54 +00:00
Bryan Boreham
3098267be4 Add a timestamp on each report saying when it was generated
Not currently used in the code, but useful when troubleshooting.
2020-03-06 15:39:06 +00:00
Bryan Boreham
a47cf0a2aa Remove copying Merge() on Report
It was only used in a few places, and all of those were better off
using the Unsafe variant.
2020-03-06 15:03:43 +00:00
Bryan Boreham
e04dc86dba Merge pull request #3751 from weaveworks/billing-window
Improve calculation of usage in multitenant code
2020-03-06 14:14:00 +00:00
Bryan Boreham
329023b7c5 Improve calculation of usage in multitenant code
Use the duration supplied, if there is one.

It was looking for a process named "scope-probe", whereas the
executable is just named "scope".
2020-03-06 13:29:54 +00:00
Bryan Boreham
b07bfb294b Merge pull request #3747 from weaveworks/simplify-renderers
Simplify some renderers
2020-02-25 11:07:55 +00:00
Bryan Boreham
8aca4d6452 Remove MapToEmpty() - no longer used 2020-02-18 12:14:18 +00:00
Bryan Boreham
2c2671ee2e Merge pull request #3745 from weaveworks/pipe-tracing
Add tracing for pipe operations; updates weaveworks, jaeger and aws dependencies
2020-02-04 12:31:41 +00:00
Bryan Boreham
574c76ac40 Merge pull request #3709 from weaveworks/report-endpoint-subset
Report a subset of connections from/to the same endpoint
2020-01-27 22:42:47 +00:00
Bryan Boreham
f732eed3a5 refactor: remove unused parameterisation of containerWithImageNameRenderer 2020-01-27 21:30:52 +00:00
Bryan Boreham
875fdba352 rendering: simplify ContainerHostnameRenderer
The second half of the render added all the same nodes, except for
those with no Docker image information, so we could show a figure for
those filtered out on that basis.

This just isn't worth the effort.
2020-01-27 21:28:23 +00:00