Michael Lange
bc5dbe2fb7
Gap support for line charts
2018-09-17 16:58:56 -07:00
Michael Lange
8900d5c138
Add request throttling to the abstract stats tracker
...
This is the best of three options
1. Users of stats trackers control polling (old method)
2. Stat tracker is stateful and has start/stop methods (like logging)
3. Stat trackers blindly throttle requests
This is the best option because it means N number of concurrent users of
a stats tracker can request polling without inundating the tracker with
redundant frames (or the network with redundant requests), but they also
don't have to coordinate amongst themselves to determine what state a
tracker should be in.
2018-09-17 15:58:28 -07:00
Michael Lange
ae161d75bc
Use the new stats tracker service to get stats trackers in primary metric
2018-09-17 15:57:58 -07:00
Michael Lange
bc3a76da04
Clean up old controller code
2018-09-17 15:57:23 -07:00
Michael Lange
fcf22fdbc4
New LRUMap dep
2018-09-17 15:55:48 -07:00
Michael Lange
b7169596c1
New service to manage stats trackers
...
This solves two problems:
1. redundant trackers making redundant requests
2. trackers being obliterated as soon as the primary metric component
is destroyed
It introduces a new problem where visiting more and more node and
allocation pages adds to an ever-growing list of trackers that can
assume lots of memory, but it solves the problem by using a
least-recently-used cache to limit the number of trackers tracked.
2018-09-17 15:53:59 -07:00
Alex Dadgar
a7c1dbb152
Merge pull request #4686 from hashicorp/f-logger-deps
...
Use StandardLogger for Raft/Serf/Memberlist/Yamux
2018-09-17 15:36:43 -07:00
Alex Dadgar
9971b3393f
yamux
2018-09-17 14:22:40 -07:00
Alex Dadgar
9dc26699b4
vendor yamux
2018-09-17 13:58:51 -07:00
Alex Dadgar
b2f500b48c
Serf/Raft/Memberlist logger
2018-09-17 13:57:52 -07:00
Alex Dadgar
cac3348601
Merge pull request #4682 from hashicorp/f-hc-logger
...
Plumb hc-logger through everything but client
2018-09-15 16:54:14 -07:00
Alex Dadgar
ca28afa3b2
small fixes
2018-09-15 16:42:38 -07:00
Alex Dadgar
3c19d01d7a
server
2018-09-15 16:23:13 -07:00
Michael Lange
b675919c76
Add resource utilization graphs to the task index page
2018-09-14 10:21:48 -07:00
Michael Lange
dace559442
Add resource utilization graphs to the allocation index page
2018-09-14 10:21:28 -07:00
Michael Lange
636d0c92fc
Use the appropriate methods and types in the stat trackers
2018-09-14 10:21:01 -07:00
Michael Lange
80fefcf369
Style the primary-metric pattern
2018-09-14 10:20:33 -07:00
Michael Lange
379b17acbd
Handle the length = 0 and length = 1 cases for activeDatum
2018-09-14 10:19:35 -07:00
Michael Lange
6a94ebc5fb
Use the prototype instead of "private" property backups
2018-09-14 09:38:17 -07:00
hacnet
5d390c3eb0
Merge pull request #4677 from hashicorp/b-tf-vault-config-fix
...
Corrected vault address and port in client/server hcl
2018-09-14 18:32:58 +02:00
Thomas Hackett
40767c2b12
Corrected vault address and port in client/server hcl
2018-09-14 16:18:03 +00:00
Michael Lange
a2db921c1f
Make rollingArray work with mutable array extension methods
2018-09-14 08:57:26 -07:00
Michael Lange
01429a9b78
Remove old stat tracking code from the client page
...
In favor of the new primary-metric components
2018-09-13 17:01:24 -07:00
Michael Lange
10b9017d84
Use the new primary-metric component on the client detail page
2018-09-13 17:01:24 -07:00
Michael Lange
768f67e336
New primary-metric component
...
It encapsulates all the tracker, polling, and markup for this style
of metric.
2018-09-13 17:01:24 -07:00
Michael Lange
54efa8ddd5
Full markup for time series metrics
2018-09-13 17:01:24 -07:00
Michael Lange
93cf97a47b
Add stat charts to the client page
2018-09-13 17:01:24 -07:00
Michael Lange
b6382fe7dc
Use percent for the y-axis binding
2018-09-13 17:01:24 -07:00
Michael Lange
7e431e8876
Use addObject to get kvo behaviors
2018-09-13 17:01:24 -07:00
Michael Lange
4a2b9cc153
Merge pull request #4661 from hashicorp/f-ui-line-chart
...
UI: line chart
2018-09-13 16:59:20 -07:00
Michael Lange
105d4aea79
Unit test coverage for the stats-time-series chart
2018-09-13 16:45:56 -07:00
Michael Lange
659e19303c
Unit test coverage for the line chart component
2018-09-13 16:45:56 -07:00
Michael Lange
63b89904f3
Split the line-chart and stats-time-series freestyle entries
2018-09-13 16:45:56 -07:00
Michael Lange
569ba3c48a
Updates to the styleguide
2018-09-13 16:45:56 -07:00
Michael Lange
f2bab4591d
Use "global" gradients via a clipping mask and a rect w/100% height
2018-09-13 16:45:54 -07:00
Michael Lange
05c7706487
Avoid race conditions around showing and hiding the line chart tooltip
2018-09-13 16:45:13 -07:00
Michael Lange
9008c48cd1
Stats time series
...
A use-case specific line-chart for showing utilization metrics by
percent
2018-09-13 16:45:13 -07:00
Michael Lange
7a8a4c32f4
Make the tooltip animation snappier for line charts
...
When data is coming in live, the tooltip can get bogged down by updates
causing the tooltip to never make it under the mouse, which looks like
either lag or a bug.
2018-09-13 16:45:13 -07:00
Michael Lange
46cceb2daa
Don't round numbers when the domain is between 0 and 1
2018-09-13 16:45:13 -07:00
Michael Lange
a74e6648b9
Styleguide entry for the line chart component
2018-09-13 16:45:13 -07:00
Michael Lange
d516daf83e
New line chart component
2018-09-13 16:45:08 -07:00
Michael Lange
20f68ec771
Merge pull request #4635 from hashicorp/f-ui-stat-trackers
...
UI: Stats trackers
2018-09-13 16:41:48 -07:00
Preetha Appan
b10e4f57b1
Update changelog
2018-09-13 14:00:47 -05:00
Alex Dadgar
7739ef51ce
agent + consul
2018-09-13 10:43:40 -07:00
Michael Lange
f15e3ba0c2
Test coverage for NodeStatsTracker
2018-09-11 16:27:06 -07:00
Alex Dadgar
bb0f869eb2
Merge pull request #4658 from hashicorp/b-vault-panic
...
Vendor new Vault API package
2018-09-11 12:11:58 -07:00
Alex Dadgar
8b01793d63
vault consts
2018-09-11 12:05:47 -07:00
Alex Dadgar
f384da3f85
Merge pull request #4659 from hashicorp/f-drain-failed-deployment
...
Failed/paused deployments do not block migrations
2018-09-11 12:00:36 -07:00
Alex Dadgar
66d40431f1
remove toplevel vault dependency
2018-09-11 10:19:03 -07:00
Alex Dadgar
b8abf64691
Merge pull request #4654 from hashicorp/f-plugin-factory
...
Plugin loader
2018-09-10 17:33:02 -07:00