Tom Wilkie
22402c34f7
Ensure k8s views are correctly hidden.
...
- Filter unconnected psuedo nodes from the Pods view
- Don't report these filtered nodes in stats
- Fix typo in logic for hiding views
2016-04-07 12:01:23 +01:00
Paul Bellamy
bfb65cb4af
Merge pull request #1225 from weaveworks/1149-more-meaningful-metrics-max-mmmmmmm
...
Set the memory and open files maximums based on the host
2016-04-07 10:36:30 +01:00
Simon
de173a6380
Merge pull request #1239 from weaveworks/improve-highlight-perf
...
Improve canvas highlighting performance.
2016-04-07 11:20:53 +02:00
David
5fba5d8cfc
Merge pull request #1237 from weaveworks/1221-no-subtopo-options
...
Apply topology options also to sub-topologies
2016-04-07 10:01:41 +02:00
David
c04ae221b1
Merge pull request #1229 from weaveworks/cpu-no-connection
...
Reduce CPU consumption if UI cannot connect to backend
2016-04-07 09:24:25 +02:00
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
Simon Howe
7f8ea1bc3c
Use normal linear scale for open-files MoC
...
Now that we have the real max!! \o/
2016-04-07 08:40:33 +02:00
Simon Howe
c46bacab1b
Improve highlighting performance.
...
- Untangle edge dependencies so we don't redraw them all if a node is
highlighted.
- Only "preparePoints" if they've changed.
2016-04-06 21:50:27 +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
David Kaltschmidt
9586c23526
Apply topology options also to sub-topologies
...
Subtopologies inherit the applied options if the keys are the same.
The labels are still determined by the topology itself.
Fixes #1221
2016-04-06 17:33:47 +02: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
Paul Bellamy
b970b0561b
Set the memory and open files maximums
...
process memory limit is not cgroup-aware
2016-04-06 13:07:55 +01: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
8bdebe9848
Reduce CPU consumption if UI cannot connect to backend
...
* blank keyframes for blinking Connect animation
* increased topology API retry timer interval
Fixes #1220
2016-04-06 11:13:11 +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