Commit Graph

5474 Commits

Author SHA1 Message Date
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
Bryan Boreham
609d9a7506 Merge pull request #3363 from princerachit/format-error-log
refactor(logs): Add reporter name to error logs.
2019-07-31 14:51:30 +01:00
Bryan Boreham
87754c4fd4 Merge pull request #3657 from weaveworks/less-quay2
Remove quay.io from release script
2019-07-31 14:46:04 +01:00
Bryan Boreham
cbdaeee06b Merge pull request #3653 from weaveworks/ebpf-time-offset
fix(probe): Avoid ebpf events out of order by adding offset to time
2019-07-31 14:37:03 +01:00
Bryan Boreham
2ebbb1cb10 Remove quay.io from release script 2019-07-31 13:21:40 +00:00
Bryan Boreham
86bb9312d5 Add another warning about exposing on the Internet 2019-07-31 13:20:31 +00:00
Bryan Boreham
b22bde4a7d fix(probe): Update tcptracer-bpf package to cure out-of-order events
Avoid ebpf events out of order by adding offset to time.
2019-07-31 12:43:21 +00:00
Satyam Zode
670ea0e6ac Merge pull request #3654 from foreversunyao/bump_license
bump_license , supposed to be 2019 ?
2019-07-24 15:53:26 +05:30
Samuel
d956150706 bump_license 2019-07-24 03:12:13 -07:00
Bryan Boreham
26c8760877 Merge pull request #3605 from weaveworks/defer-metrics-registration
Defer metrics registration until we need it
2019-07-16 15:45:30 +01:00
Bryan Boreham
5e57b0dbcf Add metrics for conntrack and ebpf errors 2019-07-09 13:01:47 +00:00
Bryan Boreham
20e7d5d476 Add metric counting report publish attempts and errors 2019-07-09 13:01:26 +00:00
Bryan Boreham
cf3812094b Document that probe counters are available as Prometheus metrics 2019-07-09 12:34:05 +00:00
Bryan Boreham
ab7a7dcb16 Expose probe metrics to Prometheus
We are already timing all report, tag and tick operations.
If Prometheus is in use, expose those metrics that way.

Adjust metrics naming to fit with Prometheus norms.

The previous way these metrics were exposed was via SIGUSR1, and we
can only have one "sink", so make it either-or.

Signed-off-by: Bryan Boreham <bryan@weave.works>
2019-07-09 12:34:05 +00:00
Bryan Boreham
ba84edefd2 Update go-metrics library to latest
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2019-07-09 12:34:05 +00:00
Bryan Boreham
8e93cce5d6 docs: help users to avoid opening their computer to the Internet 2019-07-09 12:20:04 +00:00
Bryan Boreham
24dcb676cf docs: remove mention of long-deprecated boot2docker 2019-07-09 12:18:47 +00:00
Bryan Boreham
161014857d Merge pull request #3646 from weaveworks/remove-useless-metric
fix: remove unused metric SpyDuration
2019-07-04 17:37:16 +01:00
Bryan Boreham
4d642ffe39 Merge pull request #3649 from weaveworks/release-1.11
Release 1.11.3
2019-07-04 17:00:28 +01:00
Bryan Boreham
3483765b34 docs: Release 1.11.3 v1.11.3 2019-07-04 15:03:11 +00:00
Bryan Boreham
89363f5dcf Defer metrics registration until we need it
This avoids app-specific metrics appearing in the probe.
2019-07-04 14:24:22 +00:00
Bryan Boreham
c1e110ac7b fix: remove unused metric SpyDuration
The call to register this metric was removed in #633 over three years ago.
If it isn't registered then nobody can see the values.
The measurement is duplicated by metrics added in #658.
2019-07-04 13:53:00 +00:00
Bryan Boreham
8a414d7a8f Merge pull request #3648 from weaveworks/handle-conntrack-error
fix: handle errors reported by the conntrack package
2019-07-04 14:50:15 +01:00