Commit Graph

4163 Commits

Author SHA1 Message Date
Simon Howe
b2837c21e8 Fixes UI hanging if currentTopology no longer exists for some reason
- Reasons: k8s was currentTopology but was then disabled while the UI
  was looking at that view.

Fallback to our default-topo-selection logic.
2016-09-26 12:19:36 +02:00
Simon Howe
f0a50b85e9 Metrics cols a little wider again 2016-09-26 11:02:32 +02:00
Simon Howe
51e4fc6d74 Drop our label-col width heuristic for less wasted col. space
- The label column now flexes to the available space. (Old behaviour:
  label width was a function of # of cols).
- Most columns other than the label now have a fixed width specified
  (some large ones are left to share the avaiable space w/ the label)
2016-09-26 10:48:06 +02:00
Alfonso Acosta
c15d071f88 Add sleep between scope launch and top 2016-09-26 08:11:20 +00:00
Luke Marsden
806d304b20 bullet points causing trouble 2016-09-25 22:12:50 +01:00
Luke Marsden
1203438494 fix markup 2016-09-25 22:10:47 +01:00
Alfonso Acosta
3fb3268559 Merge pull request #1887 from weaveworks/snoop-tcp-dns
Add support for snooping DNS over TCP
2016-09-23 18:29:11 +02:00
Alfonso Acosta
7fddaa9fd1 Print logs to debug shutdown integration test 2016-09-23 15:28:57 +00:00
Alfonso Acosta
326208c395 Skip DNS length field (only included over TCP) 2016-09-23 13:57:39 +00:00
Alfonso Acosta
6f95d05c59 Add support for snooping DNS over TCP 2016-09-23 12:41:32 +00:00
Luke Marsden
3b145f1c42 Remove out of date instructions. 2016-09-23 13:40:51 +01:00
Luke Marsden
9c3b21ff85 Simplify k8s instructions, removing workarounds no longer needed in modern clusters, and recommend Weave Cloud usage. 2016-09-23 13:39:31 +01:00
Matthias Radestock
090d33069d Merge pull request #1881 from weaveworks/show-internet-forward-dns
show forward DNS name for internet addresses
2016-09-22 22:06:02 +01:00
Matthias Radestock
5ce5d541d3 show forward DNS name for internet addresses
...if available.

Follow-up to #1863.
2016-09-22 21:01:44 +01:00
Simon
8462819a12 Merge pull request #1877 from weaveworks/1794-fixes-left-alignment-number-cols
Fixes left alignment of numbers in the details panel tables
2016-09-22 16:59:10 +02:00
Simon Howe
685a895dd5 gofmt the go 2016-09-22 16:05:37 +02:00
Simon Howe
fe1ba9cc4d Tidying up connectionrow.dataType
- Rename DataType -> Datatype for consisitency
- Remove Datatype from connection.metadata
- Change UI to read dataType from connection.columns rather than from
  connection.metadata (col header rather than "cell")
2016-09-22 15:36:36 +02:00
Simon Howe
ac741a034e Fixes tests after numberifying columns 2016-09-21 16:38:01 +02:00
Simon Howe
7c4654d45c Fixes left alignment of numbers in the details panel tables
- By declaring more things to be numbers
- Also fixes initial sort direction of number columns from asc to desc.
2016-09-21 16:18:26 +02:00
Simon
2db892fd53 Merge pull request #1874 from weaveworks/1862-fix-ip-truncation-in-conn-table
Fix ip column width in connections table, avoid truncating long ips
2016-09-21 16:16:14 +02:00
Simon Howe
517110ba09 Keep "count" as tooltip for new mini "#" column header 2016-09-21 15:24:59 +02:00
Simon Howe
52362496b3 Rename connections."Count" => "#", flex remote column 2016-09-21 15:13:01 +02:00
Paul Bellamy
ce21bac7d3 Merge pull request #1873 from kinvolk/alessandro/http-plugin-fix
plugins/http-requests: change plugin id
2016-09-21 12:43:37 +01:00
Simon Howe
fc3fc72205 Fix ip column width in connections table, avoid truncating long ips 2016-09-21 10:01:42 +02:00
Alfonso Acosta
c64dfa6f55 Merge pull request #1863 from weaveworks/1082-nodes-for-known-services
Add pseudo-nodes for known services
2016-09-20 23:00:52 +02:00
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 Radestock
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 Radestock
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
David
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