Michael Lange
f9dccf9c7b
Adjust topo viz controller to new resource code
2020-10-15 02:54:16 -07:00
Michael Lange
334f72c633
Unit test for for GiB in format-bytes
2020-10-15 02:54:16 -07:00
Michael Lange
b185d09f31
Update topo viz code to use new alloc/node resources pattern
2020-10-15 02:54:16 -07:00
Michael Lange
faaf697c9e
Migrate to the new resources properties for allocs and nodes
2020-10-15 02:54:16 -07:00
Michael Lange
84f88ecf7e
Test coverage for TopoViz::Node
2020-10-15 02:54:16 -07:00
Michael Lange
611b0b3e00
FlexMasonry integration tests
2020-10-15 02:54:15 -07:00
Michael Lange
639b3ffa70
More information about clients in the info panel
2020-10-15 02:54:15 -07:00
Michael Lange
90dbab198a
Filter total alloc count by only scheduled allocs
2020-10-15 02:54:15 -07:00
Michael Lange
927343f36a
Add icons to denote draining or ineligibility of clients
2020-10-15 02:54:15 -07:00
Michael Lange
de9124eea4
Label empty clients in the topo viz chart
2020-10-15 02:54:15 -07:00
Michael Lange
bb68a14cbc
Improved curves for allocation associations
2020-10-15 02:54:15 -07:00
Michael Lange
a4c8ce4ee0
Fix a re-render bug with flexmasonry
2020-10-15 02:54:15 -07:00
Michael Lange
f5f964b7bf
Make the topo viz denser when there are >50 nodes
...
By hiding node details and making nodes interactive instead, we can pack
more allocations on a screen.
2020-10-15 02:54:15 -07:00
Michael Lange
4e81ab8d3f
Conditionally use the FlexMasonry layout for datacenters within TopoViz
2020-10-15 02:54:15 -07:00
Michael Lange
c5e84749ad
Apply FlexMasonry to the TopoViz component
2020-10-15 02:54:15 -07:00
Michael Lange
c152ccb945
New FlexMasonry component implements a masonry layout using flexbox
2020-10-15 02:54:15 -07:00
Michael Lange
a9e29178bb
Second attempt at a masonry layout
2020-10-15 02:54:15 -07:00
Michael Lange
be2d0fc201
A better loading screen for the topo viz while nodes load
2020-10-15 02:54:14 -07:00
Michael Lange
37cc9b7275
Connect the memory and cpu rectangles
2020-10-15 02:54:14 -07:00
Michael Lange
d13c065bbd
Refactor topo viz to do as much computation upfront & use faster data structures
...
Now all data loading happens in the TopoViz component as well as
computation of resource proportions.
Allocation selection state is also managed centrally uses a dedicated
structure indexed by group key (job id and task group name). This way
allocations don't need to be scanned at the node level, which is O(n) at
the best (assuming no ember overhead on recomputes).
2020-10-15 02:54:14 -07:00
Michael Lange
9991dc63bb
Make the alloc select render path more efficient by not needlessly recomputing data
2020-10-15 02:54:14 -07:00
Michael Lange
e9626ceb82
Add more variety to the node heights
2020-10-15 02:54:14 -07:00
Michael Lange
2704c3e4b8
CSS Grid based masonry layout
...
TBH, it's buggy and I don't like it.
2020-10-15 02:54:14 -07:00
Michael Lange
98dd2586b7
Medium scale topo scenario
2020-10-15 02:54:14 -07:00
Michael Lange
3cd464d03c
Updated alloc and cluster details on topo page
2020-10-15 02:54:14 -07:00
Michael Lange
290f7d8fb4
Guard against undefined denominators
2020-10-15 02:54:14 -07:00
Michael Lange
f56f631676
Associate sibling allocations by drawing lines
2020-10-15 02:54:14 -07:00
Michael Lange
f5c3d0e0a7
Super rough allocation details, needs some style love
2020-10-15 02:54:14 -07:00
Michael Lange
c2b7f7c073
Add cluster details to the topology page
2020-10-15 02:54:13 -07:00
Michael Lange
0b3a78b9ef
Touch up topo viz interactions
2020-10-15 02:54:13 -07:00
Michael Lange
36df145da5
Fleshing out the first prototype of the topology visualization
2020-10-15 02:54:13 -07:00
Michael Lange
606910f365
Tweak topo scenario
2020-10-15 02:54:13 -07:00
Michael Lange
b3ddd1f897
Start click interaction for topo viz allocs
2020-10-15 02:54:13 -07:00
Michael Lange
7cf3b74236
Fix factory bug that made it so pending allocs had no resources
2020-10-15 02:54:13 -07:00
Michael Lange
773404a47f
Prototype of the topo viz
...
- Plot all datacenters
- For each datacenter, plot all nodes
- For each node, plot all allocations by memory and cpu
- For empty nodes, highlight the emptiness
- When hovering over allocations, give them visual focus
2020-10-15 02:54:13 -07:00
Michael Lange
a003a8a987
Quick window resize modifier
2020-10-15 02:54:13 -07:00
Michael Lange
b6867ef4ad
Add ember modifiers addon
2020-10-15 02:54:13 -07:00
Michael Lange
6d9f59f87d
Scaffold topo viz components
2020-10-15 02:54:13 -07:00
Michael Lange
1e9e2a1c8b
Small cluster example scenario for the topo viz
2020-10-15 02:54:13 -07:00
Michael Lange
753bfbf1e7
Scaffold a new topology page
2020-10-15 02:54:12 -07:00
James Rasell
9aa24f382c
Merge pull request #9084 from hashicorp/f-gh-9083-docs
...
docs: update website and changelog for GH-9083
2020-10-15 08:41:05 +02:00
James Rasell
1cfeeba9f2
Merge pull request #9083 from hashicorp/b-fix-enterprise-config-merge
...
agent: fix enterprise config overlay merging.
2020-10-15 08:40:49 +02:00
Jamie Finnigan
afdf81bd0a
Merge pull request #9092 from hashicorp/fix_robots_txt_format
...
Fix robots.txt to disallow indexing of all paths
2020-10-14 16:05:00 -07:00
Michael Schurter
116b2b8b35
Merge pull request #9055 from hashicorp/f-9017-resources
...
api: add field filters to /v1/{allocations,nodes}
2020-10-14 14:49:39 -07:00
Jamie Finnigan
ad74eef9a6
Fix robots.txt to disallow indexing of all paths
2020-10-14 12:45:04 -07:00
Michael Schurter
0695801256
unify boolean parameter parsing
2020-10-14 12:23:25 -07:00
Dave May
71a022ad8c
Metrics gotemplate support, debug bundle features ( #9067 )
...
* add goroutine text profiles to nomad operator debug
* add server-id=all to nomad operator debug
* fix bug from changing metrics from string to []byte
* Add function to return MetricsSummary struct, metrics gotemplate support
* fix bug resolving 'server-id=all' when no servers are available
* add url to operator_debug tests
* removed test section which is used for future operator_debug.go changes
* separate metrics from operator, use only structs from go-metrics
* ensure parent directories are created as needed
* add suggested comments for text debug pprof
* move check down to where it is used
* add WaitForFiles helper function to wait for multiple files to exist
* compact metrics check
Co-authored-by: Drew Bailey <2614075+drewbailey@users.noreply.github.com >
* fix github's silly apply suggestion
Co-authored-by: Drew Bailey <2614075+drewbailey@users.noreply.github.com >
2020-10-14 15:16:10 -04:00
Tim Gross
b2fb40ec71
ci: make split between e2e and integration tests explicit ( #9091 )
...
Currently we compile (but don't run) the e2e tests as part of `test-other`,
which is skipped for branches named `e2e-*`. Move this check into the
`test-e2e` job. Split out the vault compatibility integration check as its own
makefile target for clarity.
2020-10-14 14:53:21 -04:00
Drew Bailey
d68e3d4218
Merge pull request #9013 from hashicorp/event-stream
...
Event stream
2020-10-14 14:45:34 -04:00
Drew Bailey
8c5f3a042d
event stream changelog
2020-10-14 14:27:54 -04:00