Commit Graph

1301 Commits

Author SHA1 Message Date
Paul Bellamy
0afd151ea7 Merge pull request #752 from weaveworks/301-details-pain
Details panel redesign
2016-01-19 16:57:30 +00:00
Simon Howe
c43abd6075 Reconcile some details-panel stuff after the rebase. 2016-01-19 16:31:17 +00:00
Paul Bellamy
3d32d10e2d fixing up some performance issues in NodeSet 2016-01-19 16:31:08 +00:00
Simon Howe
0785d5393a Fixes pipes again
- Treat control objects that come back from the server as little
  black boxes.
- Pass our local client nodeId around more instead, use that for
  comparisons etc, (vs. inspecting the control object and doing brittle
  magic w/ the ids).
2016-01-19 16:48:35 +01:00
Paul Bellamy
e7c9d4b771 adding a benchmark for the various render topologies 2016-01-19 16:47:49 +01:00
Paul Bellamy
bf13a824d4 render detail status section for metadata or metrics 2016-01-19 16:47:49 +01:00
Paul Bellamy
cb9d558665 Review feedback refactoring 2016-01-19 16:47:48 +01:00
Paul Bellamy
54d0db0441 templatize metric rendering and shorten column names 2016-01-19 16:47:48 +01:00
Paul Bellamy
e30c9dc264 use constants for the topology names in Parents/metadata/metrics 2016-01-19 16:47:48 +01:00
Paul Bellamy
3cda328976 remove hostID from container image node ids 2016-01-19 16:47:48 +01:00
Tom Wilkie
9e61ad37f4 Get Pipes working again.
They stopped working because of the change to container node IDs (and rendered nodes IDs for containers).  The UI was comparing the IDs, which was never safe.  I have just removed that code.  This does leave the possibility of us having the pipe control operation take a long time, the user navigate to a different node, and then the terminal pop up, but I think thats better that teaching the UI to understand the format of the node IDs.
2016-01-19 16:47:48 +01:00
David Kaltschmidt
d39fd847b7 Details Panel UI Redesign
Refactored nodedetails to support multiple data sets, probably broke some tests
  Allow api requests to out-of-view topologies
  Fix ESC behavior with details panel
  Stack details panel like cards
  Details pain side-by-side
  Details panel piles
  Fix node details table header styles
  Render load and not-found captions like relatives
  Fix topology click action
  Make node detail tables sortable
  Grouped metrics for details health
  Group metrics in same style
  Link node details children
  Fix scroll issues on double-details
  Fix DESC sort order for node details table
  Save selected node labels in state - allows rendering of node labels from other topologies before details are loaded
  Change detail card UX, newest one at top, pile at bottom
  Details panel one pile w/ animation
  Sort details table nodes by metadata too
  Animate sidepanel from children too
  Fix radial layout
  Dont set origin if a node was already selected, suppresses animation
  stack effect: shift top cards to the left, shrink lower cards vertically
  Clear details card stack if sibling is selected
  Check if node is still selected on API response
  Make detail table sorters robust against non-uniform metadata
  Dont show scrollbar all the time, fix sort icon issue
  Button to show topology for relative
  Overflow metrics for details panel health
  Fix JS error when no metrics are available for container image details
  Column-based rendering of node details table
  Fix JS tests
  Review feedback (UI)
2016-01-19 16:47:05 +01:00
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