Commit Graph

1824 Commits

Author SHA1 Message Date
David
b7c2db6cc2 Merge pull request #1230 from weaveworks/1224-format-sparkline
Apply format to tooltips in sparkline hovers
2016-04-07 09:14:17 +02:00
David
0badd9384f Merge pull request #1236 from weaveworks/fix-terminals
Fix terminals (broken since f34146d)
2016-04-07 09:12:16 +02:00
Tom Wilkie
f4ef8020ac Merge pull request #1235 from weaveworks/970-reinstating-restarting-ruckus
Update docker client, to get better state strings in the UI
2016-04-06 18:23:34 +02:00
Paul Bellamy
f3adefa454 Update docker client, to get better state strings in the UI 2016-04-06 16:39:45 +01:00
Paul Bellamy
945029c890 Merge pull request #1234 from weaveworks/middleware
Add various middleware to app.
2016-04-06 16:22:31 +01:00
David Kaltschmidt
d8761aada1 Fix terminals (broken since f34146d)
`controlPipe` is now an immutable map, but was not treated that way by
all components.
2016-04-06 17:17:06 +02:00
Tom Wilkie
734a01d603 Review feedback, lint & fix tests. 2016-04-06 15:59:02 +01:00
Paul Bellamy
e3aa92b964 Merge pull request #1232 from weaveworks/dynamo-schema
Multitenant DynamoDB collector should use a string for the hash key.
2016-04-06 15:32:22 +01:00
Tom Wilkie
fd75e45715 Multitenant DynamoDB collector should use a string for the hash key.
This is because the key is of the form "<userid>-<hour bucket>", but as I was testing without a userid, I didn't notice that "-<hour bucket>" was a valid number.
2016-04-06 14:59:53 +01:00
Tom Wilkie
727553962b Insturment the app with prometheus. 2016-04-06 14:58:28 +01:00
Tom Wilkie
5d7604cc21 Print command line when launching the app. 2016-04-06 14:58:23 +01:00
Tom Wilkie
fd368e5e5f Unhack dealing with slashed in node names. 2016-04-06 14:47:14 +01:00
Tom Wilkie
50c8449c20 Update gorilla/mux to include a fix for path slash cleaning. 2016-04-06 14:47:14 +01:00
Tom Wilkie
a8f0d64b3c Add middleware for logging each request to the app. 2016-04-06 14:47:08 +01:00
David Kaltschmidt
392589744c Fix zooming regression
Introduced in #1186

Fixes #1233
2016-04-06 15:23:13 +02:00
David
f34146d068 Merge pull request #1186 from weaveworks/pure-mixin
Performance improvements for canvas
2016-04-06 14:23:04 +02:00
Simon Howe
4c378283cb Pure-mixin-ify more stuff.
Helps a lot for dragging around the canvas.
2016-04-06 12:44:24 +02:00
Simon Howe
49286cf5ea Fixes generated node names for the perf. tests! 2016-04-06 12:44:24 +02:00
David Kaltschmidt
d803e00b00 Apply format to tooltips in sparkline hovers
Fixes #1224
2016-04-06 12:05:43 +02:00
David Kaltschmidt
0a1740cbe6 Fix metrics rebase 2016-04-05 18:15:28 +02:00
David Kaltschmidt
d520cffec7 Performance tweaks
Add debug.html to show toolbar

Perfjankie test runner

Playing w/ the pure mixin for perf. improvements

* Works well! Smoother zooming/panning when things have settled.
* Extract node movement to node-container, make nodes pure

Extracted node chart elements into own components

Keep control objects immutable while in components

Keep layout state objects alive

Made other components pure, removed mixin from stateless components

Remove font size adjustment from scaling

Fix zoomscale

Move node transform to node

* makes more sense there because the coords are rounded in the container

dynamic coords precision based on topology size

Make edge points immutable

Remove nodes maximum for layout engine

Dont send all canvas state down to next component

moving layout handling back to nodes-chart.js

Omit some props for edges/nodes, dont animate edges on low precision

Moved AppStore access out of lower components
2016-04-05 15:45:13 +02:00
Simon
c9b323ff84 Merge pull request #1105 from weaveworks/metrics-on-canvas
Metrics on canvas
2016-04-04 21:05:22 +02:00
Simon Howe
4ec975018c Back to brighter colors for metrics-on-canvas 2016-04-04 21:02:54 +02:00
Simon Howe
4ec8b97fef metrics-on-canvas review feedback updates.
- Refactor some things.
- Fixes heptagon moc rendering
- Experiment w/ duller colors.
2016-04-04 21:02:30 +02:00
Simon Howe
4a840c2d2b Tidy up code, remove small comment 2016-04-04 17:48:45 +02:00
Simon Howe
432ea920fe Terminology change from lock -> pin
In meetings etc the term pin is more often used.
2016-04-04 17:48:44 +02:00
Simon Howe
9d968a789b Tidying up MoC
- no rand ids, org code
- Fixes tests, no .includes in jest for now
- Small comment on moc stuff
- Patch up differences after MoC rebase
2016-04-04 17:48:44 +02:00
Simon Howe
3fdd7809f7 Fixes a couple of MoC visual bugs
- Fixes metric font-size on selected nodes
- Round metric-height value to be the same as rounded displayed value.
- No red/green colors in the MoC! They have to much association w/ success/failure
2016-04-04 17:48:44 +02:00
Simon Howe
1710db6262 Save locked metric in the url.
- introduces "metric type" so we can flick across topos and keep the
  "type" of metric selected. Cheating and using label as the type atm.
2016-04-04 17:48:44 +02:00
Simon Howe
f64908acf2 No metric selected by default.
- Fixes metric keyboard selection order
2016-04-04 17:48:43 +02:00
Simon Howe
1ad7c2c7a3 Return to mock-metrics for now.
- Bring MoC under new linting rules
- adds support for immutable-console-renderer
- fixes up metrics actually displaying after bad fixes when rebasing.
- Mock all metrics client side for demoing
2016-04-04 17:48:43 +02:00
Simon Howe
31ee76a1d9 Key binding to clear metrics "q"
Going w/ the `top` key mappings, needs discussion.
2016-04-04 17:48:43 +02:00
Simon Howe
13a625a2b3 Fade out rank border color for more emphesis on metric
- Fade out rank color opacity when showing metric
2016-04-04 17:48:42 +02:00
Simon Howe
439b3aaed8 Different metrics get different fill colors 2016-04-04 17:48:42 +02:00
Simon Howe
0df2a2bce4 Metric fill color based on node color 2016-04-04 17:48:42 +02:00
Simon Howe
eb66800496 Adds metric formatting clientside
- Bump non-zero metrics up to start at 10% fill so we can see them.
2016-04-04 17:48:42 +02:00
Simon Howe
f8a69fa1fa Better labels for metrics-on-canvas, log scale for load and open-files
- Small fixes after the rebase
2016-04-04 17:48:42 +02:00
Simon Howe
0f21c1b5e7 Play w/ metric on canvas color and fix nested radius in squircles
- Remove node's grey-inner-border when showing metrics
2016-04-04 17:48:41 +02:00
Simon Howe
319fe31356 Show metrics that are available for displayed nodes.
- change color to bg
- show "x" to remove the metric.
- Small debugToolbar enhancements.
2016-04-04 17:48:41 +02:00
Simon Howe
cc3d392010 Adds < and > keyboard shortcuts for next/prev metric-on-canvas 2016-04-04 17:48:41 +02:00
Simon Howe
a104962aa2 Simple metric selection clicking!
Locks onto a metric after you mouseout.
2016-04-04 17:48:40 +02:00
Simon Howe
ef1c69eb2a Basic hover to select metric 2016-04-04 17:48:40 +02:00
Simon Howe
d31aadf7b1 Metrics on canvas!
- Adds metric on canvas support for more shapes
- More variation from the debug bar.
2016-04-04 17:48:40 +02:00
Alfonso Acosta
7643d7a620 Merge pull request #1208 from weaveworks/1016-host-level-ttys
host-level ttys
2016-04-01 16:16:01 +01:00
Alfonso Acosta
2c4de6243a Review comment: move pty's Close 2016-04-01 12:17:09 +00:00
Alfonso Acosta
4a496073b0 More robust obtention of host shell command 2016-03-30 23:57:31 +00:00
Alfonso Acosta
59af5d28ad Review feedback: merge host controls with reporter 2016-03-29 17:14:15 +00:00
Alfonso Acosta
c1c40ad20d Add host-level terminals 2016-03-29 16:05:04 +00:00
Alfonso Acosta
7b03f01630 Vendor github.com/kr and github.com/willdonnelly/passwd 2016-03-29 15:48:57 +00:00
Paul Bellamy
0a9af6f1b7 Merge pull request #1204 from weaveworks/removing-renderablenode
Removing render.RenderableNode
2016-03-29 14:40:38 +01:00