Commit Graph

5496 Commits

Author SHA1 Message Date
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
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
871751873b Stop render package depending on probe
This dependency makes it harder to see the structure of the program,
and sometimes complicates compilation.

Mostly just changing the source of strings that are already exported
from the report package.  A few new strings have to be moved there,
plus the function `IsPauseImageName()`.
2019-09-15 17:03:04 +00:00
Bryan Boreham
34eb68815e perf(probe): update netlink library to bring in performance improvements 2019-09-15 13:52:40 +00:00
Bryan Boreham
ce73474851 Merge pull request #3673 from weaveworks/3672-node-memory-overlay-shows
Fixes "45undefined" in node memory overlay
2019-09-13 16:30:37 +01:00
Simon Howe
a18827f2f0 Fixes "45undefined" in node memory overlay
- Seems like the filesize lib subtley changed their API
2019-09-13 16:38:19 +02:00
Bryan Boreham
d9cb838815 Merge pull request #3671 from weaveworks/quantise-aws-read-cache
Quantise report cache in query side of aws-collector
2019-09-13 12:44:34 +01:00
Bryan Boreham
48aad1a20d Remove unused string constants 2019-09-13 11:42:21 +00:00
Bryan Boreham
4210bc76f4 Refactor: stop depending on probe code to render image names 2019-09-13 11:41:16 +00:00
Bryan Boreham
15467d7310 Move host-related names out of probe code
Reduce the dependency on low-level libraries
2019-09-13 11:41:09 +00:00
Bryan Boreham
74b6a292d5 Use time.Duration instead of nanoseconds for constants 2019-09-13 07:31:07 +00:00
Bryan Boreham
b5376facf2 Cache merged groups of reports, to reduce the number we handle in parallel
Previously we would merge all reports in a 15-second window.
Now we use a 'quantum' of 3 seconds, similar to the single-user app.

E.g. a 30-node cluster will have 150 individual reports over 15
seconds, but the new code will merge 5 pre-merged reports plus 20-ish
very recent individual ones.

This limits the max heap size used for deserialising, since we only do
3 seconds at once per instance.

Individual reports are still put into the cache, but should get
displaced by the pre-merged ones under LRU.
2019-09-09 10:00:26 +00:00
Bryan Boreham
70550ca34a Refactor: pull userid fetch up out of getReportKeys() 2019-09-09 08:19:55 +00:00
Bryan Boreham
589c4c4d0b Refactor: pull time interval computation up out of getReportKeys() 2019-09-08 12:27:57 +00:00
Simon
85bcc5fd6f Merge pull request #3670 from weaveworks/upgrades-ui-components-sc-4
Upgrades ui-components to version w/ styled-components 4
2019-09-06 14:58:59 +02:00
Simon Howe
51e2f80560 Upgrades ui-components to version w/ styled-components 4 2019-09-06 11:19:55 +02:00
Daniel Holbach
445b4065f2 Merge pull request #3664 from weaveworks/update-js-libs
update some javascript dependencies
2019-08-30 15:01:31 +02:00
Daniel Holbach
e080f7823a revert d3-selection to 1.3.2 - thanks Akash 2019-08-21 16:25:08 +02:00
Daniel Holbach
40a03bda7d update some more dependencies 2019-08-21 16:19:46 +02:00
Daniel Holbach
1cf1eead6b update flask version too 2019-08-21 16:19:46 +02:00
Daniel Holbach
2d3ff4f6fb update some javascript dependencies 2019-08-21 16:19:46 +02:00
Bryan Boreham
5b256ba473 Release 1.11.5 v1.11.5 2019-08-20 14:27:03 +00:00
Bryan Boreham
5cba126c12 Merge pull request #3600 from weaveworks/expose-probe-metrics
Expose probe metrics to Prometheus
2019-08-20 14:35:06 +01:00
Akash Srivastava
55846dbe01 Merge pull request #3661 from weaveworks/endpoint-tweaks
Reduce leaks in probe endpoint reporter
2019-08-16 12:40:00 +05:30
Bryan Boreham
eba9f31f3f fix(probe): restart conntrack handler periodically to clear out data
We observe a slow increase in connections reported, and are unable to
find the root cause, so clear down the data every six hours and start
from a clean sheet.
2019-08-13 16:30:56 +00:00
Bryan Boreham
6e715d2697 fix(probe): Loosen ebpf parameters to reduce restarts
Delay kernel events by up to 0.2ms, to reduce the chance the ebpf
reporter sends them out-of-order, and allow out-of-order events to
happen up to once a minute without giving up on the ebpf reporter.
2019-08-13 16:17:23 +00:00
Filip Barl
c8c8dacbc9 Merge pull request #3643 from weaveworks/security-updates
Update to newer eslint
2019-08-12 12:15:03 +02:00
Filip Barl
478e325755 Resolved dependency cycle between actions and web utils 2019-08-02 20:02:30 +02:00
Filip Barl
c2fa42f514 Resolved router utils dependency cycle 2019-08-02 15:31:19 +02:00
Bryan Boreham
c99a5e6d3b Merge branch 'release-1.11' 2019-08-01 16:02:19 +00:00
Filip Barl
183bf0f8bd Moved doControlRequest function into actions 2019-08-01 16:11:32 +02:00
Daniel Holbach
2ab7ada568 some more eslint updates 2019-08-01 08:39:42 +02:00
Filip Barl
7c417bd5d6 Addressed react/no-access-state-in-setstate 2019-08-01 08:39:42 +02:00
Filip Barl
f27d1337c8 Resolved a buncher of simple(r) eslint errors 2019-08-01 08:39:42 +02:00
Filip Barl
97a2e00fe3 Bumped node to v8.10.0 2019-08-01 08:39:42 +02:00
Daniel Holbach
630611af90 update eslint-config-airbnb 2019-08-01 08:39:42 +02:00
Daniel Holbach
0a53475d37 update some node modules again 2019-08-01 08:39:42 +02:00
Daniel Holbach
f2c371a87b wants 4 spaces 2019-08-01 08:39:42 +02:00
Daniel Holbach
e5f9c2df51 Ignore react/destructuring-assignment for now
as per discussion in
	https://github.com/weaveworks/scope/pull/3643#issuecomment-507233272
2019-08-01 08:39:42 +02:00
Daniel Holbach
3472bd4cc5 workaround Error: Cannot find module 'eslint/lib/formatters/stylish' by using unreleased eslint-loader (waiting for release) 2019-08-01 08:39:42 +02:00
Daniel Holbach
a494f00964 run 'eslint app server.js --fix' 2019-08-01 08:39:42 +02:00
Daniel Holbach
723d9f46df update eslint components 2019-08-01 08:39:42 +02:00
Satyam Zode
5313209f81 Merge pull request #3650 from weaveworks/warn-open-port
Docs: improve the warning about opening Scope to the Internet
2019-07-31 19:57:07 +05:30
Bryan Boreham
c3ff3cac56 Release 1.11.4 v1.11.4 2019-07-31 14:09:56 +00:00
Bryan Boreham
bdbc50298c Bold the warning about exposing on the Internet 2019-07-31 13:52:51 +00:00