Commit Graph

1109 Commits

Author SHA1 Message Date
Bryan Boreham
321c5709b9 Merge pull request #3231 from meghalidhoble/master
[Power Support] Enable weaveworks scope on Power.
2018-08-24 15:27:57 +01:00
guyfedwards
ebd6376bd4 support storagesheet for old scope reports
Old versions of scope reports use `storagesheet` as the value for node
shape. This shape is no longer supported in weaveworks-ui-components and
so this commit normalises to `sheet` for compatiblity with old reports.

related #3322
2018-08-22 15:33:34 +01:00
Filip Barl
af99a95100 Update localStorage with Scope state also on initial router hook. 2018-08-13 17:56:16 +02:00
meghalidhoble
625998b91e Change made to the listed files, to enable weaveworks-scope on Power(ppc64le)
1)backend/Dockerfile 2) probe/endpoint/dns_snooper.go
3) client/Dockerfile 4) docker/Dockerfile.cloud-agent
5) probe/process/walker_linux_test.go & 6) tools/lint

1)'backend/Dockerfile' : Conditional added so that the cross-compiling should
   be done on amd64. Also removed support for sh-lint for ppc64le for now.
   As the version for shfmt mentioned in the dockerfile is not available for
   ppc64le and the later version does't work fine with existing application.
2)'probe/endpoint/dns_snooper.go' : Renamed this file so as to reuse for ppc64le
   and added a build-constraint. Now this file will be build for amd64 on linux
   and ppc64le on linux.
3)'client/Dockerfile' : Modified the version of the base image for node from
   8.4.0 to 8.11, as this version supports multiarch.
4)'docker/Dockerfile.cloud-agent' : Modified the version of the base image for
   golang from 1.10.2-strech to 1.10.2, which supports multiarch.
5) 'probe/process/walker_linux_test.go' : Test fixed to run for ppc64le,
    modified the code to accept RSSBytes based on pageSize value per
    architecture, instead of hard-coded values.
6)'tools/lint' : Modified the file to skip the sh-lint implementation for ppc64le.

PR #3231
2018-08-13 12:45:25 +05:30
Filip Barl
798348e1eb Bumps lodash dependency. 2018-08-09 15:51:36 +02:00
Filip Barl
a0ddd311d3 Addressed Guy's comment. 2018-08-09 12:32:29 +02:00
Filip Barl
65dad7242e Removed old graph nodes obsolete code. 2018-08-09 12:31:12 +02:00
Filip Barl
18342634c8 Made networks overlay work. 2018-08-09 12:31:12 +02:00
Filip Barl
b05563d9ab Made searching and metric fills work. 2018-08-09 12:31:12 +02:00
Filip Barl
b5ee1e690c Use GraphNode component for graph nodes. 2018-08-09 12:31:12 +02:00
Filip Barl
e1b1837fd6 Fixed the background color when nodes in focus. 2018-08-02 15:51:42 +02:00
Filip Barl
1317bf6ddb Decreased the header overlay transparency to 80%. 2018-08-02 15:44:31 +02:00
Filip Barl
c0a359b31f Increase z-index value of NodeDetails panel by one. 2018-08-02 11:14:04 +02:00
Filip Barl
9f9123e171 Decrease filters background opacity + made selected items more purple. 2018-08-02 11:09:18 +02:00
Filip Barl
e806c848df Make header semitransparent. 2018-08-02 10:48:37 +02:00
Filip Barl
b9656566bb Add border radius to resource view rectangles and grid view color icons. 2018-07-27 10:28:44 +02:00
Filip Barl
c30b23c274 Bump ui-components to v0.11.8 2018-07-27 10:28:44 +02:00
Filip Barl
4bd0be0910 Merge pull request #3244 from weaveworks/3243-pluggable-node-details-extras
Support rendering node details extras
2018-07-09 16:20:26 +02:00
Simon Howe
7a04740d7c Fixes monospace font overlapping in terminal+linux
- Also fixes actually using Roboto-Mono, xterm.js now only accepts
  fontFamily customization via the JS api. (uses `<canvas`).
- There is an issue (https://github.com/xtermjs/xterm.js/issues/1170)
  if linux has to fall back to 'monospace' where things fail to render
  correctly, so provide a couple of common options so this rarely
  happens.
- If we distribute robo-mono in the webpack bundle that might also work.
2018-07-02 17:59:13 +02:00
Filip Barl
08ed71fc55 Fixed the failing test. 2018-06-29 16:14:51 +02:00
Filip Barl
b6c55ba3c8 Remove the legacy styles. 2018-06-29 16:10:13 +02:00
Filip Barl
7d85ed6a74 Got rid of all NodeDetailsImageStatus code and replaced it with renderNodeDetailsExtras function. 2018-06-29 12:02:48 +02:00
Filip Barl
a7282552ab Simplified TimeTravel state update from the route. 2018-06-27 11:27:56 +02:00
Filip Barl
f49770c062 Support TimeTravel injection. 2018-06-26 16:39:50 +02:00
Filip Barl
56ba183571 Update gray theme colors. 2018-06-21 17:03:08 +02:00
Aaron Kirkbride
86ffa6dd6a Correct api.getFluxImages usage 2018-06-20 13:41:14 +01:00
Filip Barl
25afeb1416 Use new accent theme colors. 2018-06-19 14:14:38 +02:00
Filip Barl
f9bfa16fe7 Use new purple theme colors. 2018-06-18 17:06:30 +02:00
Filip Barl
6e0a2ad957 Addressed @bia's comments. 2018-06-14 17:30:41 +02:00
Filip Barl
61b3a1d282 Use new theme gray colors. 2018-06-14 17:21:28 +02:00
Filip Barl
b9b8e5afd3 Fix z-index issues. 2018-06-12 15:16:18 +02:00
Filip Barl
a096f2f76a Reloading deployments in Time Travel. 2018-06-12 15:05:50 +02:00
Filip Barl
35bcd28e81 Show timeline deployments. 2018-06-12 11:35:33 +02:00
Filip Barl
ecc5f5ed63 Separate API endpoint namespace from URL path part. 2018-06-11 15:56:28 +02:00
Bryan Boreham
8c18a785e7 Merge pull request #3132 from openebs/add-pv-pvc-support
Add Kubernetes Storage (pv and pvc) support in Weave Scope
2018-06-08 12:41:21 +01:00
Satyam Zode
d9bd17af8a Refactor edge frontend code and reporter
- Refactor dotted edge logic.
- Change Storage view to show storage components as well as all
  the pods.
- Sentence case storage related variables.

Signed-off-by: Satyam Zode <satyam.zode@openebs.io>
2018-06-08 16:37:48 +05:30
Satyam Zode
d26b2c3805 Add Kubernetes storage class resource to weave scope
This will:

- Add StorageClass resource. Storage classes are mentioned
in the PVC spec. We're using storage class name from PVC spec to
add adjacency to the PVC node.
- Add square sheet shape for StorageClass.
- Add storage filter in the PODS topology.
Storage Filter will allow user to see distinct view of
stateful applications.
- Add visually distinct edge to show storage adjacency.

Signed-off-by: Satyam Zode <satyam.zode@openebs.io>
2018-06-08 16:36:29 +05:30
Satyam Zode
2f69973de6 Add adjacencies for kubernetes storage components
- Kubernetes storage components such as PV and PVC are connected based on two
parameters Persistent volume claim name and Persistent Volume name.
- PVC contains the volume name which is, PV name itself. Hence, we can
show edge for PVC and PV.
- This will bring higher level visibility for kubernetes storage components.

Signed-off-by: Satyam Zode <satyam.zode@openebs.io>
2018-06-07 17:04:56 +05:30
Satyam Zode
23210a6a77 Add Kubernetes volumes support in Weave Scope
This will

- Add Kubernetes volume resources such as PV, PVC.
- Add shapes for Kubernetes PV and PVC
- Add `Cylinder` shape for PV and `Dotted Cylinder` shape for PVC.

Signed-off-by: Satyam Zode <satyam.zode@openebs.io>
2018-06-07 17:01:29 +05:30
jpellizzari
d76483f73f Fix scope report download URL 2018-06-04 13:45:45 -07:00
Bianca Cheng Costanzo
f07202ea05 changed background to whiteSmoke now that everything else is 2018-06-01 16:07:26 +02:00
Filip Barl
20345a6c79 Use TimestampTag component. 2018-05-28 16:44:04 +02:00
Simon Howe
1353eb5506 Fixes sending the default topologyOptions to the /api
- Which fails sometimes as we overwrite them whatever we find in the
  url state. Url state is not complete anymore so this doesn't work
2018-05-28 14:29:50 +02:00
Filip Barl
a7c7f89897 Merge pull request #3181 from weaveworks/3180-adjust-font-sizes
Adjust font sizes
2018-05-21 22:20:21 +02:00
Filip Barl
068327b84c Adjust font sizes. 2018-05-19 08:07:49 +02:00
Filip Barl
45486f44c0 Use xterm/fit addon. 2018-05-18 17:48:54 +02:00
Filip Barl
6e139c9408 Remove outdated terminalCellSize estimation code. 2018-05-18 16:52:38 +02:00
Filip Barl
43c23d2bc0 Adjusted character width/height estimation. 2018-05-18 16:52:38 +02:00
Filip Barl
5e700d996b Merge pull request #3177 from weaveworks/212-enforce-theme-fonts
Enforce theme fonts
2018-05-18 14:40:36 +02:00
Filip Barl
941cf16cfd Customize terminal stylesheet. 2018-05-18 12:47:05 +02:00