Commit Graph

1315 Commits

Author SHA1 Message Date
Tom Wilkie
586cfbfcea Rename 'by hostname' to 'by dns name' 2016-01-24 14:25:20 -08:00
Tom Wilkie
e5adb13888 Merge pull request #849 from weaveworks/847-cannot-exec-from-second-card
Fixes exec/attach from the 2nd+ card.
2016-01-24 09:23:15 -08:00
Alfonso Acosta
61cd64d5a5 Merge pull request #850 from weaveworks/improve-profiling-docs
Improve documentation about profiling
2016-01-22 15:37:03 +00:00
Alfonso Acosta
236c79c558 Improve documentation about profiling 2016-01-22 13:57:35 +00:00
Simon Howe
6edbd49791 Fixes pipe status when reloading page.
Correctly load in state from the url.
2016-01-21 21:15:54 +01:00
Tom Wilkie
3fd4edad8e Merge pull request #841 from weaveworks/840-no-metric-aggregation
Rename metric keys so they don't conflict and get merged between types
2016-01-21 09:46:19 -08:00
Simon Howe
d5cf3d2c59 Fixes exec/attach from the 2nd+ card.
- Also fixes strange issue where hitting ESC while a terminal was
  active, would update the route, reload the top card, and break the
  terminal connection status.
2016-01-21 16:57:22 +01:00
Paul Bellamy
bf57aeb8d9 Rename the various metric keys so they don't accidentally overlap 2016-01-20 16:14:32 +00:00
Paul Bellamy
0190c15145 Making fixture report metrics more specific 2016-01-20 16:13:56 +00:00
Simon Howe
bfa40f9f4b Removes sourcegraph badge from README
- Broken image at the moment which doesn't look great.
2016-01-20 09:06:49 +01:00
Tom Wilkie
2520eac507 Merge pull request #833 from weaveworks/832-i-broke-pprof
Loop in the http.DefaultServeMux for pprof.
2016-01-19 09:35:45 -08:00
Simon
6954c678a8 Merge pull request #839 from weaveworks/740-control-error-placement
Corrects the node control error placement
2016-01-19 18:26:46 +01:00
Simon Howe
f63c50475c Corrects the node control error placement 2016-01-19 18:23:21 +01:00
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
b102a977b8 Loop in the http.DefaultServeMux for pprof. 2016-01-16 13:38:00 -08: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