Commit Graph
3438 Commits
Author SHA1 Message Date
Simon Howe d48748aafe Fix spelling 2016-09-20 19:25:16 +02:00
Simon Howe c94e0f95d1 Small refactor of selector helpers with more comments 2016-09-20 18:50:35 +02:00
Alfonso Acosta c5ac315b38 Review feedback 2016-09-20 16:50:29 +00:00
Alessandro Puccetti 22ad25b312 plugins/http-requests: change plugin id
Change the ID from `http_requests` to `http-requests`.
The new plugin ID convention does not allow `_`.
2016-09-19 18:08:20 +02:00
Matthias RadestockandGitHub d00891937a Merge pull request #1875 from weaveworks/1713-show-internet-connections
show more details of a node's internet connections

Fixes #1713.
2016-09-19 16:37:25 +01:00
Alfonso Acosta 193bfec50b Exclude ec2 since it's too generic 2016-09-19 14:45:22 +00:00
Alfonso Acosta f5ad6a8e97 Minor fixes/refinements 2016-09-19 14:38:59 +00:00
Alfonso Acosta 028ed32b6f Simplify service node matching 2016-09-19 14:38:59 +00:00
Alfonso Acosta 0223b0b385 Implement DNS snooper 2016-09-19 14:38:59 +00:00
Alfonso Acosta 5c080ec062 Add pseudo-nodes for known services
AWS S3 and Dynamo to start with
2016-09-19 14:38:58 +00:00
Matthias Radestock c455f048e2 comment on arbitrariness of displayed dns name 2016-09-19 15:31:26 +01:00
Matthias Radestock bcf21b1966 show more details of a node's internet connections
in the details panel, instead of showing connections to/from the
internet as "TheInternet <port>", we now show "<dns-name>(<ip_addr>)
<port>" (or just "<ip_addr> <port>" if we don't have a dns name).

Fixes #1713.
2016-09-19 14:10:35 +01:00
Matthias RadestockandGitHub 7b0f0cb158 Merge pull request #1868 from weaveworks/1867-inbound-internet-connections-counts
fix inbound internet connections counts

Fixes #1867.
2016-09-19 11:55:36 +01:00
DavidandGitHub 93e03539d8 Merge pull request #1853 from weaveworks/localstorage-viewstate
Add localstorage support for saving view state
2016-09-19 12:19:19 +02:00
Matthias Radestock 591e72e702 fix unit tests 2016-09-19 11:15:00 +01:00
Matthias Radestock 463681dcdd refactor: inline 2016-09-15 16:04:44 +01:00
Matthias Radestock 0e1aeec6ae key internet node connection counts differently
Instead of including the localEndpointID in the key, use the
address, so the port is excluded. That way we don't end up with multiple
rows for inbound connections from the same internet address.

We also augment the address with the DNS info here, which saves us from
having to look it up later on.

Fixes #1867
2016-09-15 15:23:12 +01:00
Matthias Radestock e009548ace refactor: shrink connection count key
- remoteAddr was never being set
- localAddr is part of the localNodeID in all the cases it was set, so
  it effectively was part of the key twice
2016-09-15 11:45:16 +01:00
Simon Howe 7b51f97818 Fixes after rebase 2016-09-15 11:55:48 +02:00
Simon Howe eec54415ec Fixes hanging edges caused by a race condition of sorts
New nodes were arriving before they had been laid out.
2016-09-15 11:55:26 +02:00
Simon Howe 85e63ac786 Fixes spelling mistake 2016-09-15 11:55:25 +02:00
Simon Howe fc95e1efa0 Fixes selected layout!
(was the removal of :id from the node objects)

Only show errors in webpack output!

Tidying up

More tidying

more tidying

More fiddling around

wip

wip

wip

Fixes forceLayout

rm console.log
2016-09-15 11:55:25 +02:00
Simon Howe a1b8e963dc nodes-chart only re-rendered on prop updates!!! 2016-09-15 11:55:25 +02:00
Simon Howe 4b7471b1b0 things working again, on the way to reselect! 2016-09-15 11:55:25 +02:00
Simon Howe 9ce399607a This works! Look into getting redux in there next 2016-09-15 11:55:24 +02:00
Simon Howe b3f05ae97b Tidy up unused imports 2016-09-15 11:55:24 +02:00
Simon Howe cf6d703c18 Fixes metrics-on-canvas updating.
- We were being a bit overzealous w/ our layout caching.
2016-09-15 11:54:01 +02:00
Matthias Radestock 94cd73c72b tiny simplifying refactor 2016-09-14 12:19:09 +01:00
Matthias RadestockandGitHub 1d8fc6620e Merge pull request #1860 from weaveworks/1842-dedup-connections-2
in details panel, count connections only once

Fixes #1842
2016-09-14 10:04:44 +01:00
Matthias Radestock 69735217ac pick a unique destination endpoint for each connection 2016-09-14 09:13:21 +01:00
Matthias Radestock 58b22f0710 in details panel, count connections only once
Fixes #1842
2016-09-14 09:12:51 +01:00
Jonathan LangeandGitHub 801c419c89 Merge pull request #1858 from kinvolk/alessandro/tcd-circleci
circleci: push traffic control plugin image to docker hub
2016-09-13 15:35:36 +02:00
Tom WilkieandGitHub d1cf9f60fc Upgrade to go1.7 (#1797)
* Upgrade to go1.7

* Use the 1.7.1 tag
2016-09-13 12:40:33 +01:00
Alfonso AcostaandGitHub b89dab0384 Merge pull request #1859 from weaveworks/bump-docs-scope-version
Update Scope version in documentation
2016-09-13 01:00:30 +02:00
Alfonso Acosta 216b53efd9 Update Scope version in documentation 2016-09-12 21:34:06 +00:00
abuehrleandAlfonso Acosta fc7d50a2ef formatting 2016-09-12 14:46:59 +00:00
abuehrleandAlfonso Acosta 5a2a46ba66 added vanilla cluster instructions 2016-09-12 14:46:58 +00:00
abuehrleandAlfonso Acosta 7b2fda375b open PR removed PC 2016-09-12 14:46:58 +00:00
Jacob GadikianandAlfonso Acosta e59b3b6859 Update installing.md 2016-09-12 14:46:57 +00:00
Jacob GadikianandAlfonso Acosta 7f31665c0c Update installing.md 2016-09-12 14:46:57 +00:00
Jacob GadikianandAlfonso Acosta a6bfd565b3 Update installing.md 2016-09-12 14:46:57 +00:00
Alessandro Puccetti 66390c8b0e circleci: push traffic control plugin image to docker hub
After this patch, circleci builds the traffic control plugin image and
pushes it on docker hub. Rename traffic control plugin docker image
to "weaveworks/scope-traffic-control-plugin".
2016-09-12 15:47:28 +02:00
Mike LangandGitHub 8f8c0f2204 Merge pull request #1839 from weaveworks/mike/app/graceful-shutdown
Gracefully shutdown app, letting active http requests finish with timeout
2016-09-09 15:06:23 -07:00
Matthias RadestockandGitHub 4edab4bfcb Merge pull request #1855 from weaveworks/extract-pluralize
refactor: extract pluralization
2016-09-09 21:42:49 +01:00
Matthias Radestock bb4007e3cb refactor: extract a couple of map "constants" 2016-09-09 17:35:37 +01:00
Matthias Radestock 26cb5d53fc refactor: extract pluralization function
This preserves the existing behaviour of showing count=0 as a plural
rather than empty. However, I rather suspect we cannot actually
encounter that case in the current code.

In the "no count found" case we now *set* the base.LabelMinor to empty
instead of leaving it alone. This is ok since it is empty to begin with.
2016-09-09 17:35:33 +01:00
Matthias Radestock 7f7766425e refactor: dedup pod group summary functions 2016-09-09 17:33:14 +01:00
Paul BellamyandGitHub d5c3e30f31 Merge pull request #1837 from kinvolk/alessandro/tcd-status
Traffic Control plugin: first iteration
2016-09-09 15:36:06 +01:00
Alessandro Puccetti f2c2ce9d33 plugins/traffic-control/docker: integrate loopIteration() into Start()
Move `loopIteration()` code in an anonymous function inside `Start()`.
2016-09-09 13:57:21 +02:00
Alessandro Puccetti 10d33fb24f plugins/traffic-control: fix output for getStatus()
If `tc qdisc show dev eth0` returns an error, then output is set to empty string.
2016-09-09 13:57:21 +02:00