Mike Lang
a608f600fc
Update version references
v1.6.0
2017-07-26 16:13:43 -07:00
Mike Lang
e9228ed444
Changelog for 1.6.0
2017-07-26 16:12:54 -07:00
Mike Lang
7e38069fc7
Merge pull request #2757 from weaveworks/mike/k8s/rename-daemonset
...
k8s: Use 'DaemonSet', 'StatefulSet' etc instead of 'Daemon Set', 'Stateful Set'
2017-07-26 15:20:07 -07:00
Mike Lang
486bdcc796
k8s: Use 'DaemonSet', 'StatefulSet' etc instead of 'Daemon Set', 'Stateful Set'
...
We can't search for terms with spaces.
2017-07-26 13:49:54 -07:00
Matthias Radestock
6c4efbb944
refactor: reduce number of args
2017-07-26 20:41:29 +01:00
Matthias Radestock
3ab48bcdbe
Merge pull request #2756 from weaveworks/2464-maximize-timeout
...
maximize report publishing timeout
Fixes #2464 .
2017-07-26 11:41:48 +01:00
Matthias Radestock
d9705bc670
Merge pull request #2746 from weaveworks/2745-do-not-backoff-on-timeout
...
do not back off on timeouts when sending reports
Fixes #2745 .
2017-07-25 22:26:28 +01:00
Matthias Radestock
d8c747ef20
downgrade "Dropping report" log message to warning
...
It indicates degraded functionality, not catastrophe.
2017-07-25 21:29:18 +01:00
Matthias Radestock
935f6e6c20
maximize report publishing timeout
...
If the app really does take a long time to process reports, it is
better not to time out and send it more reports. However, we do want
to send at least one report per app.window, otherwise the scope UI
will go blank.
Fixes #2464 (as much as is practically possible)
2017-07-25 21:20:39 +01:00
Matthias Radestock
a5a9180605
do not back off on timeouts when sending reports
...
...since doing so unnecessarily throttles report sending, to the point
where the app is receiving reports so infrequently that often it has
no data to show.
The timeout period itself is sufficient to prevent thrashing.
Fixes #2745 .
2017-07-25 21:16:35 +01:00
Elena Morozova
142d8bead5
Merge pull request #2755 from weaveworks/reverttest
...
Revert "Test service-ui-kicker"
2017-07-25 11:24:49 -07:00
Elena Morozova
43197dd118
Revert "Test service-ui-kicker"
...
This reverts commit d1b76a5de9 .
2017-07-25 11:23:55 -07:00
Elena Morozova
b05e96c5ec
Merge pull request #2754 from weaveworks/test
...
Test service-ui-kicker
2017-07-25 10:39:21 -07:00
Elena Morozova
d1b76a5de9
Test service-ui-kicker
2017-07-25 10:38:30 -07:00
Filip Barl
8f1fdeb477
Make Resource view nodes clickable ( #2679 )
...
* Made Resource view nodes clickable.
* Remove selection when clicking on the background.
* Use opacity instead of the blue overlay for selected nodes.
2017-07-25 17:46:17 +02:00
Matthias Radestock
a50c290079
Merge pull request #2743 from weaveworks/2738-prefer-full-reports
...
new full reports are more important than old and shortcut reports
Fixes #2738 .
2017-07-25 15:17:59 +01:00
Matthias Radestock
ea85296476
Merge pull request #2739 from weaveworks/bump-default-conntrack-buffersize
...
increase default conntrack buffer size
2017-07-25 13:21:15 +01:00
Elena Morozova
518a0e2683
Merge pull request #2744 from weaveworks/revert-test
...
Revert "Test service-ui-kicker"
2017-07-24 16:59:54 -07:00
Elena Morozova
c962c9f7ac
Revert "Test service-ui-kicker"
...
This reverts commit a7035a4a3e .
2017-07-24 16:58:05 -07:00
Matthias Radestock
3c6ae972ab
new full reports are more important than old and shortcut reports
...
so when there is backpressure in publishing reports, drop shortcut
reports in preference to full reports, and drop old full reports in
preference to new full reports.
Fixes #2738 .
2017-07-24 22:19:27 +01:00
Elena Morozova
7e86836180
Merge pull request #2742 from weaveworks/test
...
Test service-ui-kicker
2017-07-24 13:53:24 -07:00
Matthias Radestock
09b3026add
Merge pull request #2736 from weaveworks/optimise-single-client-publish
...
optimisation: don't copy report stream unnecessarily
2017-07-24 21:23:59 +01:00
Elena Morozova
a7035a4a3e
Test service-ui-kicker
2017-07-24 13:15:22 -07:00
Matthias Radestock
9cc6cdbd5f
increase default conntrack buffer size
...
The figure is based on our experience of running scope probes in
production systems. Below this we see a lot of "conntrack
stderr:WARNING: We have hit ENOBUFS! We are losing events."
2017-07-24 12:28:56 +01:00
Bryan Boreham
3c16c416a5
Merge pull request #2618 from weaveworks/unit-test-tags
...
Pass build tags to unit tests
2017-07-22 09:45:35 -07:00
Roland Schilter
ce728d2b79
Allows to skip client build when doing make prog/scope ( #2732 )
...
When you run the client locally with `yarn start` and modify the
app/probe code you don't want to compile the client on `make prog/scope`.
This allows you to do `SCOPE_SKIP_UI_ASSETS=true make prog/scope` to
only build the scope binary.
2017-07-21 19:10:18 +02:00
Matthias Radestock
9e6ecee37d
optimisation: don't copy report stream unnecessarily
...
We don't need to copy from the reader when publishing to just one
destination.
2017-07-21 17:56:08 +01:00
Roland Schilter
00ddb51685
Fix Pods number in graph not updating (minor label) ( #2728 )
...
By only caching layout values (x, y, rank)
Fixes #2401 .
2017-07-21 16:34:36 +02:00
Matthias Radestock
d14acfb263
Merge pull request #2734 from weaveworks/2508-ecs-nil-defence
...
defend against nils
2017-07-20 16:32:40 +01:00
Matthias Radestock
d368854b90
defend against nils
...
Fixes #2508 . Hopefully.
2017-07-20 15:59:59 +01:00
Matthias Radestock
0c505ced9c
Merge pull request #2715 from weaveworks/2615-docker-args
...
only pass WEAVESCOPE_DOCKER_ARGS to actual probe/app start
2017-07-20 13:47:33 +01:00
Alfonso Acosta
a4320adfd1
Merge pull request #2723 from weaveworks/2345-backoff-on-dynamo-and-s3
...
Back off when writing to Dynamo and S3
2017-07-20 14:05:29 +02:00
Alfonso Acosta
7b4b410f4a
Review Feedback
2017-07-20 11:01:44 +00:00
Alfonso Acosta
c6d5a6a646
Make linter happy
2017-07-20 10:05:48 +00:00
Mike Lang
4d2b4541c9
Merge pull request #2724 from weaveworks/mike/k8s/jobs-and-petsets
...
kubernetes: Add StatefulSets and CronJobs
2017-07-19 16:27:53 -07:00
Mike Lang
fe3bdbfcdc
probe/kubernetes: Speed up lookups of large lists of cronjobs and jobs
...
Currently joining the two lists is O(mn), by putting into a hashmap first it's O(m+n)
2017-07-19 11:31:43 -07:00
Mike Lang
316ae2947c
Fiddle with k8s topology shapes again
...
Final list of shapes for controllers view, with rationale:
Heptagon for Deployment - same shape as Service, which typically have a corresponding Deployment
Triangle for CronJob - weird shape for weird thing
Pentagon for DaemonSet - because pentagons and daemon worship :P
Octagon for StatefulSet - last shape left
2017-07-19 11:16:59 -07:00
Roland Schilter
4f1d02f590
Merge pull request #2720 from weaveworks/2716-fix-newVersion-notification-not-showing
...
Fix New Version notification not showing
2017-07-19 11:45:29 +02:00
Mike Lang
7462aaae1e
Merge pull request #2726 from weaveworks/mike/render/fix-no-pods-minor-label
...
render: In minor labels, display '0 things' instead of blank if zero things present
2017-07-18 12:51:19 -07:00
Mike Lang
ac96738ad0
render: In minor labels, display '0 things' instead of blank if zero things present
...
This also fixes a bug where k8s controller nodes would show up as 'Deployment of' without any number
2017-07-18 11:44:51 -07:00
Mike Lang
38814d54a6
deployment: Fix usage of Spec.Replicas, which is a pointer
...
Spec.Replicas is a *int32, with a value of nil occurring when the user doesn't set it.
In this case k8s defaults to 1, so we mimic this to show the effective value.
2017-07-18 11:35:50 -07:00
Mike Lang
481258d8fc
kubernetes probe: Collect info on cronjobs and statefulsets
...
Most of the time you only care about cronjobs, not the jobs that make them up,
so we only collect full cronjob data. We associate pods of jobs with the parent cronjob
2017-07-18 11:35:50 -07:00
Mike Lang
17fffb32e1
Add stateful sets and cronjobs to Controllers renderer
...
Since renderKubernetesTopologies was getting unweildy, refactored into a form
which was a bit clearer, if a bit more verbose.
2017-07-18 11:35:50 -07:00
Mike Lang
9fb6c46467
Add report topologies for Stateful Sets, Cron Jobs
2017-07-18 11:35:50 -07:00
Alfonso Acosta
f66d79d427
Backoff when writing to Dynamo and S3
2017-07-18 15:28:08 +00:00
Alfonso Acosta
57f2e6a083
Merge pull request #2719 from weaveworks/update-weave-client-to-2.0
...
Gather Weave Net plugin and proxy info from report
2017-07-18 11:01:55 +02:00
Roland Schilter
1f784ad5fa
Fix New Version notification not showing
...
Fixes #2716 .
2017-07-17 16:32:27 +02:00
Alfonso Acosta
b7d292e161
Gather Weave Net plugin and proxy info from report
...
Instead of using Docker, because after Weave Net 2.0 there are no proxy nor
plugin containers.
This has the drawback of not detecting the plugin/proxy in systems running
Weave Net < 2.0 , but I think we can live with it.
2017-07-17 13:23:37 +00:00
Roland Schilter
a6d3542c89
Merge pull request #2713 from weaveworks/2708-reset-nodes-when-scope-app-restarted
...
Reset nodes in frontend when scope-app restarted
2017-07-14 19:02:41 +02:00
Matthias Radestock
86c9544066
remove superfluous shellchecks
2017-07-14 10:59:27 +01:00