Commit Graph

1289 Commits

Author SHA1 Message Date
Paul Bellamy
56122dd0cc Details panel backend redesign
Megasquish:
  [app] remove unused edge endpoint
  [WIP] refactoring node details api endpoint
  [WIP] plumbing the children through the rendering process
  adding IDList.Remove and StringSet.Remove
  [WIP] working on adding parents to detailed node renderings
  WIP UI components with mock backend data for new details
  grouping children by type
  UI components for node details health and info
  metric formatters for details panel
  Column headers and links for details table
  [WIP] started on rendering node metadata and metrics in the detail view
  DetailedNode.LabelMajor -> DetailedNode.Label
  rendering decent labels for parents of detailed nodes
  render metrics onto the top-level detailed node
  removing dead code
  Links to relatives
  metrics have a Format not Unit
  Show more/less actions for tables and relatives
  adjusted metric formatter
  TopologyTagger should tag k8s topology nodes
  make renderablenode ids more consistent, e.g. container:abcd1234
  working on rendering correct summaries for each node
  adding report.Node.Rank, so that merging is independent of order
  rendering children and parents correctly
  output child renderableNode ids, so we can link to them
  add group field to metrics, so they can be grouped
  Refactored details health items to prepare for grouping
  add metrics to processNodeSummaries
  hide summary section if there is no data for it
  fixing up tests
  moving detailed node rendering into a separate package
  Node ID/Topology are fields not metadata
    - This way I think we don't have to care about Metadata being non-commutative.
    - ID and topology are still non-commutative, as I'm not sure how to sanely
  merge them, but it's possible we don't care.
  host memory usage is a filesize, not a percent
  working on fixing some tests
  adding children to hosts detail panel
    - Had to redo how parents are calculated, so that children wouldn't interfere with it
    - have to have the host at the end because it is non-commutative
  only render links for linkable children (i.e. not unconnected processes)
  resolving TODOs
  fixing up lint errors
  make nil a valid value for render.Children so tests are cleaner
  working on backend tests
  make client handle missing metrics property
  Stop rendering container image nodes with process summaries/parents
  fix parent link to container images
  Calculate parents as a set on report.Node (except k8s)
  refactoring detailed.NodeSummary stuff
  removing RenderableNode.Summary*, we already track it on report.Node
  working on tests
  add Columns field to NodeSummaryGroup
  fixing up render/topologies_test
  fix children links to container images
  get children of hosts rendering right
  working on host renderer tests
  Change container report.Node.ID to a1b2c3;<container>
  The id should be globally unique, so we don't need the host id.
    This lets the kubernetes probe return a container node with the pod id,
    which will get merged into the real containers with other reports. The
    catch is that the kubernetes api doesn't tell us which hostname the
    container is running on, so we can't populate the old-style node ids.
  change terminology of system pods and services
  Fix kubernetes services with no selector
  Fixes handling of kubernetes service, which has no pods
  fix parent links for pods/services
  refactor detailed metadata to include sets and latest data
  fixing up host rendering tests
  fleshing out tests for node metadata and metrics
  don't render container pseudo-nodes as processes
  Update test for id format change.
2016-01-19 16:39:37 +01:00
Simon
359ec29c09 Merge pull request #797 from weaveworks/758-independent-node-controls
Fix node controls so they behave independently across nodes
2016-01-19 14:41:37 +01:00
Simon
4c4748e722 Merge pull request #819 from weaveworks/818-close-disconnected-pipe-with-esc
Allow dismissing a disconnected terminal w/ <esc>
2016-01-19 10:30:01 +01:00
Simon
58cb2b7a11 Merge pull request #837 from weaveworks/830-fix-long-edges
Stops scope crashing chrome when we get "long" edges.
2016-01-19 10:29:47 +01:00
Simon Howe
b2774ed981 Fixes scope from crashing with "long" edges.
Long edges are those w/ a lot of points on them. Which can pop up in
heavily connected layouts.
2016-01-18 18:06:02 +01:00
Paul Bellamy
aaa767cccc Merge pull request #834 from weaveworks/k8s-text-change
General k8s fixups
2016-01-18 14:42:19 +00:00
Tom Wilkie
23fd123370 Merge pull request #824 from weaveworks/820-custom-image-port
Correctly extract image name when using custom hub.
2016-01-18 05:39:09 -08:00
Paul Bellamy
a84da6cf1c nil selector for a k8s service means nothing, not everything 2016-01-18 10:27:56 +00:00
Paul Bellamy
a972e883e0 Reword filter text on kubernetes views 2016-01-18 10:26:11 +00:00
Tom Wilkie
f4f10fd58e Merge pull request #831 from weaveworks/build-example-in-container
Build example app in container.
2016-01-16 12:49:26 -08:00
Tom Wilkie
98d7887ba0 Condense some more steps in circle, this seems to speed things up. 2016-01-16 12:23:45 -08:00
Tom Wilkie
e01f7741bc Merge commit '0441e70ba033aa5417122d474bd6461fd3d538e6' into build-example-in-container 2016-01-16 12:11:34 -08:00
Tom Wilkie
0441e70ba0 Squashed 'tools/' changes from fb5985b..c7d833c
c7d833c Allow vendor dirs in sub directories.

git-subtree-dir: tools
git-subtree-split: c7d833c2b1
2016-01-16 12:11:34 -08:00
Tom Wilkie
0565479e8c Build example app in container. 2016-01-16 11:56:34 -08:00
Tom Wilkie
984fd528c0 Correctly extract image name when using custom hub. 2016-01-15 12:41:29 -08:00
Tom Wilkie
21a8928e47 Merge pull request #829 from weaveworks/fix-test-wait
Various improvements to build & test
2016-01-15 10:31:05 -08:00
Tom Wilkie
baec4688cb Various improvements to build & tests
- Fix broken wait in tests.
- Run lint in the build container.
- Merge two quick steps in the circle plan.
- Increase number of test VMs to 3 (again).
2016-01-15 10:00:41 -08:00
Tom Wilkie
7d340269a3 Merge pull request #823 from weaveworks/733-k8s-pause-filter
k8s: Filter out pause as a system container
2016-01-15 08:35:49 -08:00
Alfonso Acosta
1133daa243 k8s: Filter out pause as a system container 2016-01-15 15:34:04 +00:00
Simon Howe
8a7cfdb46f Allow dismissing a disconnected terminal w/ <esc> 2016-01-14 18:08:08 +01:00
Simon
d3ffd85af5 Merge pull request #817 from weaveworks/748-fix-term-arrow-keys
Fixes ctrl-arrow keys in terminal
2016-01-14 17:33:11 +01:00
Simon Howe
18d31a0d08 Send xterm equivilant codes for ctrl-arrow keys
Docker sets $TERM=xterm.
2016-01-14 17:30:24 +01:00
Paul Bellamy
43b430ff9c Merge pull request #806 from weaveworks/804-f-star-cking-slashes
Less hacky fix for /%2F bug
2016-01-14 15:45:39 +00:00
Tom Wilkie
123c40028f Less hacky fix for /%2F bug 2016-01-14 07:10:31 -08:00
Alfonso Acosta
ada38a35b0 Merge pull request #808 from weaveworks/717-k8s-service-account-auth
k8s: Use service account token by default and improve error logging
2016-01-14 13:01:40 +00:00
Alfonso Acosta
e0dfeb18b7 Leave Helm out of the k8s install instructions for now 2016-01-14 12:57:27 +00:00
Tom Wilkie
3f6e9a337d Merge pull request #816 from weaveworks/tools
Update to latest tools.git
2016-01-13 16:27:13 -08:00
Tom Wilkie
e5541b965b Update to go1.5.3 2016-01-13 16:21:51 -08:00
Tom Wilkie
795436ef81 Squashed 'tools/' changes from f7f1370..fb5985b
fb5985b Merge pull request #14 from weaveworks/increase-image-timeout
b42e792 Merge pull request #13 from weaveworks/move-gce-scripts
c5800d0 Increase rebuild-image image lifetime to 3 days.

git-subtree-dir: tools
git-subtree-split: fb5985b6c3
2016-01-13 15:58:47 -08:00
Tom Wilkie
e5d58ac48d Merge commit '795436ef81231002c10e1dfbc415260016e7245b' into tools 2016-01-13 15:58:47 -08:00
Alfonso Acosta
312b9ac370 k8s: Add documentation about deploying Scope 2016-01-13 18:34:02 +00:00
Simon
bb3ad56410 Merge pull request #790 from weaveworks/787-fix-hover-single-node
Highlight a single unconnected node on hover.
2016-01-13 17:02:03 +01:00
Simon Howe
3c5e357150 Highlight a single unconnected node on hover.
Wasn't happening before.
2016-01-13 17:01:37 +01:00
Paul Bellamy
14899adb95 Merge pull request #807 from weaveworks/increase-test-replicas
Speed up integration tests
2016-01-13 14:32:09 +00:00
Tom Wilkie
98bca0b552 Squashed 'tools/' changes from 0c4636a..f7f1370
f7f1370 Use CIRCLE_PROJECT_REPONAME to distinguih schedules for different repos.
a4c7222 More gce scripts from weave into tools.

git-subtree-dir: tools
git-subtree-split: f7f1370372
2016-01-12 21:55:12 +00:00
Tom Wilkie
e952301980 Merge commit '98bca0b55277bae736a99f1861217fa843418328' into increase-test-replicas 2016-01-12 21:55:12 +00:00
Tom Wilkie
8e4d3a4e8b Enable sharding for integration tests. 2016-01-12 21:54:49 +00:00
Tom Wilkie
bf91d5b8ba Use gce.sh, config.sh etc from tools. 2016-01-12 21:54:42 +00:00
Tom Wilkie
511daca1ca Wait for correct application. 2016-01-12 21:54:42 +00:00
Tom Wilkie
abf8accea2 Increase test replicas. 2016-01-12 21:54:42 +00:00
Tom Wilkie
cf41ec301d Merge pull request #810 from weaveworks/727-k8s-container-names
k8s: Render container names from label "io.kubernetes.container.name"
2016-01-12 21:00:41 +00:00
Alfonso Acosta
bd5cfd9570 k8s: Render container names from label "io.kubernetes.container.name" 2016-01-12 18:32:25 +00:00
Alfonso Acosta
fa43df2de7 k8s: Log errors when contacting the API server 2016-01-12 15:31:32 +00:00
Alfonso Acosta
e0e7644acd k8s: Use service account token when no api server url is provided 2016-01-12 15:31:19 +00:00
Paul Bellamy
398e676c2c Merge pull request #799 from weaveworks/speed-up-tests
Speed up tests with go test -i
2016-01-11 13:08:48 +00:00
Tom Wilkie
4ea7453008 Update Makefile inline with some comments from weave's build. 2016-01-11 11:37:23 +00:00
Tom Wilkie
718f636109 Squashed 'tools/' changes from 3ec519f..0c4636a
0c4636a Speed up tests by doing a go test -i before hand.

git-subtree-dir: tools
git-subtree-split: 0c4636a2b3
2016-01-08 19:31:35 +00:00
Tom Wilkie
8474279281 Merge commit '718f63610989cb2503b74dfe640d1869e97095d0' into speed-up-tests 2016-01-08 19:31:35 +00:00
Tom Wilkie
35b6a10068 Merge pull request #798 from weaveworks/fix-tests
Fix tests.
2016-01-07 15:23:37 +00:00
David Kaltschmidt
bd270e5ff4 Backout: Remove backend container dep for non-container builds
Make is called recursively, once outside then inside the container
2016-01-07 16:18:26 +01:00