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
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
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
Bryan Boreham
852b7cd4c0
tracing(app): spans for report rendering via websocket
2019-09-15 19:08:20 +00:00
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
4c52889316
Add 'omitempty' tag to Topology.Nodes
...
So we save space writing out empty topologies.
Need to fix up `app_client_internal_test.go` to use Scope's
`test/reflect` package that understands empty==nil, so now it doesn't
need a previous workaround.
Remove a similar workaround in `probe_internal_test.go` that isn't
necessary since it's already using that package.
2019-09-15 15:50:08 +00:00
Bryan Boreham
2f9c9913c4
perf(probe): reduce copying of nodes
...
Where we know we are merging several reports into the one, we can call
UnsafeMerge() and skip the copy that Merge() will do.
2019-09-15 15:40:28 +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
b9b7d03354
refactor: remove old unnecessary controls code
...
Scope stopped using NodeControls in bd43c34852 , and since
1cfc8f4581 WireMetrics is identical to Metrics so unnecessary.
2019-09-14 22:11:28 +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