Commit Graph

472 Commits

Author SHA1 Message Date
Michael Quigley
43e6c56ec1
environment metrics wired in and working (#324) 2023-05-10 14:51:46 -04:00
Michael Quigley
b5b3385b46
recharts; account metrics (#319, #321) 2023-05-10 14:17:10 -04:00
Michael Quigley
7d611fda30
less timeslices in metrics output (#321) 2023-05-10 13:37:07 -04:00
Michael Quigley
e7048e4051
wire in environment and share handlers (#319) 2023-05-09 16:48:11 -04:00
Michael Quigley
3f8c939adb
share metrics handler (#319) 2023-05-09 16:47:22 -04:00
Michael Quigley
02c996b545
environment metrics handler (#319) 2023-05-09 16:36:50 -04:00
Michael Quigley
9f29bb59c7
alternate metrics model with sample objects (#319) 2023-05-09 16:22:30 -04:00
Michael Quigley
6b078abcd7
account metrics endpoint (#319) 2023-05-09 14:16:01 -04:00
Cam Otts
acb3b66342
added ack for amqp messages 2023-05-01 13:45:45 -05:00
Michael Quigley
fcc7699f0e
remove incorrect warnings (#308) 2023-05-01 14:14:13 -04:00
Michael Quigley
148281cb48
fix for panic occurring with missing email configuration for account/environment/share warnings (#296) 2023-05-01 14:03:34 -04:00
Michael Quigley
28916e8d2a
merged tui for tcpTunnel (#307) 2023-05-01 12:19:06 -04:00
Michael Quigley
29c26b94b7
fixes (#170) 2023-04-17 12:47:52 -04:00
Michael Quigley
ab6df21273
update schemas to support 'tunnel' backend mode (#170) 2023-04-17 11:53:18 -04:00
Michael Quigley
fd741353d7
getting a basic tunnel backend plumbed up (#170) 2023-04-14 14:55:49 -04:00
Cam Otts
b7623f80f6
moved token requirement to metadata and provide fields based on that 2023-04-11 18:41:40 -05:00
Michael Quigley
e0e3e0286c
preserve the form of the wss url for websocket_endpoint 2023-04-07 13:15:34 -04:00
Michael Quigley
c8313d12b7
fixes from video (#235) 2023-04-05 13:57:22 -04:00
Michael Quigley
0284e41b55
update config version from 2 to 3 and update reference configuration (#288) 2023-04-05 11:45:47 -04:00
Michael Quigley
ad818e1dfa
removed spark data log lint 2023-04-03 14:33:21 -04:00
Michael Quigley
5146ca8f24
better (?) limit email formatting (#279) 2023-04-03 14:19:43 -04:00
Michael Quigley
6fc794ea50
email subject (#279); record windowed transfer correctly in journals (#273); properly cycle the relax run when inbound usage is happenign (#276) 2023-03-29 17:03:42 -04:00
Michael Quigley
69990447c9
warning graphic for limit email (#279); only run relax actions when reverting a limit not a warning (#276) 2023-03-29 16:24:52 -04:00
Michael Quigley
d3be3195bf
improved warning email text (#279) 2023-03-29 16:14:57 -04:00
Michael Quigley
3c92b9a8d0
share, environment, and account relax actions all support private shares in addition to public shares; consolidated relax code (#278) 2023-03-29 15:08:04 -04:00
Michael Quigley
540e3ffa74
record share identifier for access private frontends (#278) 2023-03-29 14:21:02 -04:00
Michael Quigley
dfb35cc588
store implementation for private_share_id (#278) 2023-03-29 14:05:44 -04:00
Michael Quigley
98d5d20d34
sqlite3 'private_share_id' column in 'frontends' table (#278) 2023-03-29 13:57:15 -04:00
Michael Quigley
73ea6184c5
add 'private_share_id' to store 'frontends' table (#278) 2023-03-29 13:53:14 -04:00
Michael Quigley
f9dc0f6ba1
check limit journals for creating environments or shares (#281) 2023-03-29 13:29:12 -04:00
Michael Quigley
b8aec46548
debug lint (#276) 2023-03-28 15:19:01 -04:00
Michael Quigley
e2d0b7990e
empty metrics data sets are not an error (#280) 2023-03-28 15:06:19 -04:00
Michael Quigley
bd4ce22d97
don't try to replace policies for deleted shares (#276) 2023-03-28 15:05:51 -04:00
Michael Quigley
9a6f6a8e2f
tweaks, improvements, and minor fixes to limits infrastructure as a result of share limit testing (#276) 2023-03-28 14:39:42 -04:00
Michael Quigley
d279fbb8cb
roughed in limit warning email actions (#276) 2023-03-27 15:29:25 -04:00
Michael Quigley
bb61bdb664
limit warning emails (#276) 2023-03-27 15:07:09 -04:00
Michael Quigley
1c544c6c33
acount limit and relax action implementations (#276) 2023-03-27 14:06:57 -04:00
Michael Quigley
a6c2841cf2
environment limit and relax actions (#276) 2023-03-27 14:01:31 -04:00
Michael Quigley
558606fad3
add trx to action interfaces; implement limit and relax for share (#276) 2023-03-27 13:51:48 -04:00
Michael Quigley
44cbb8491c
action execution logic (#276) 2023-03-27 13:00:05 -04:00
Michael Quigley
067d9901d6
account action skeletons (#276) 2023-03-27 11:53:18 -04:00
Michael Quigley
2ab6730e23
environment action skeletons (#276) 2023-03-27 11:43:58 -04:00
Michael Quigley
662693c2c9
share action skeletons (#276) 2023-03-27 11:34:29 -04:00
Michael Quigley
fdc5154873
necessary actions (#276) 2023-03-23 17:16:35 -04:00
Michael Quigley
14c299ee80
strategy -> action (#276) 2023-03-23 17:07:48 -04:00
Michael Quigley
c91fc8ac9e
handlers for account, environment, and strategy (#276) 2023-03-23 17:04:10 -04:00
Michael Quigley
0bed934976
limit relax triggers and associated store tweaks (#273) 2023-03-23 15:13:59 -04:00
Michael Quigley
0ed00ebc2c
to find the current latest journal entries for each account_id (#273) 2023-03-22 15:42:47 -04:00
Michael Quigley
bc5481a249
self -> str 2023-03-22 15:17:27 -04:00
Michael Quigley
12de429ead
lint (#276) 2023-03-22 15:01:05 -04:00
Michael Quigley
b172ca1100
limit journal logic for limits.Agent (#273, #276) 2023-03-22 14:10:07 -04:00
Michael Quigley
b103195f88
working out the hitches in the limit journals (#273) 2023-03-22 13:09:21 -04:00
Michael Quigley
d0dd04a141
share limits check owned by limits.Agent now (#277) 2023-03-21 16:34:45 -04:00
Michael Quigley
79e9f484dc
centralized environment limits check (#277) 2023-03-21 16:18:17 -04:00
Michael Quigley
2ec228c496
basic limits infrastructure for detecting warning and enforcement conditions (#271) 2023-03-21 14:06:23 -04:00
Michael Quigley
73ef98d7a6
queue-based internal design for limits.Agent (#271) 2023-03-21 13:05:22 -04:00
Michael Quigley
7360598df5
naming (#271) 2023-03-21 12:38:31 -04:00
Michael Quigley
40ae2da2c9
better account and environment total efficiency and accuracy; 'bytesRead'/'bytesWritten' -> 'rx'/'tx' (#271) 2023-03-20 15:37:21 -04:00
Michael Quigley
8bf6875c3f
probably not an optimal approach for this flux query, but seems to be working (#271) 2023-03-20 15:05:45 -04:00
Michael Quigley
96d2f15055
working (but not correct) values for account and environment rx/tx (#271) 2023-03-17 14:04:01 -04:00
Michael Quigley
df56e49fab
flux query influx for duration totals (#271) 2023-03-17 13:51:12 -04:00
Michael Quigley
9418195150
more limits.Agent elaboration (#271) 2023-03-17 13:13:33 -04:00
Michael Quigley
b69237e9cc
include rx|tx byte counts in limits journals (#273) 2023-03-17 12:57:26 -04:00
Michael Quigley
0fa682e764
[account|environment|share] limit journals (#273) 2023-03-17 12:02:18 -04:00
Michael Quigley
1af440fa37
limits journals ddl (#273) 2023-03-17 11:46:28 -04:00
Michael Quigley
192a49fe19
wire in the new 'limits.Agent' infrastructure; extend the 'metrics.Agent' to support additional 'metrics.UsageSink' instances (#271) 2023-03-16 15:05:39 -04:00
Michael Quigley
86126b3f53
metrics2 -> metrics (#270) 2023-03-15 16:14:06 -04:00
Michael Quigley
3f7db68ed7
updated websocketSource (#270) 2023-03-15 16:11:12 -04:00
Michael Quigley
89202873bc
incorporate metrics.Agent into the controller (#270) 2023-03-15 16:05:01 -04:00
Michael Quigley
b4d13e15f0
agent (#270) 2023-03-15 15:38:35 -04:00
Michael Quigley
20bd5bbb09
detail cache (#270) 2023-03-15 15:16:48 -04:00
Michael Quigley
8b99d13f40
lint (#270) 2023-03-15 15:13:51 -04:00
Michael Quigley
917226012c
influxWriter (#270) 2023-03-15 15:13:21 -04:00
Michael Quigley
1e9a57cb81
usageIngest (#270) 2023-03-15 15:08:06 -04:00
Michael Quigley
bf43366e40
amqpSource (#270) 2023-03-15 14:52:14 -04:00
Michael Quigley
b420211c8d
lint (#270) 2023-03-15 14:39:25 -04:00
Michael Quigley
182c7bc510
basic amqp bridge (#270) 2023-03-15 13:49:17 -04:00
Michael Quigley
559a59cd8e
revamped fileSource+amqpSink (#270) 2023-03-15 12:47:26 -04:00
Michael Quigley
9ca7dfb102
amqp sender (#270) 2023-03-14 16:23:34 -04:00
Michael Quigley
858872f861
lint 2023-03-14 14:45:44 -04:00
Michael Quigley
66e0c0e479
record environment and account ids on metrics records (#235); 'zrok metrics' -> 'zrok ctrl metrics' (#269) 2023-03-13 16:20:56 -04:00
Michael Quigley
a601600bb4
write circuit data to metrics (#263) 2023-03-13 15:17:07 -04:00
Michael Quigley
d54fefb0fe
consolidated configuration; 'zrok metrics' and 'zrok ctrl' share config (#269) 2023-03-13 14:19:38 -04:00
Michael Quigley
bc1b42d946
incorporate a separate 'warning' and 'limit' threshold (#235) 2023-03-10 14:32:00 -05:00
Michael Quigley
83ab21f00c
roughed in limits model that incorporates bandwidth limit specs (#235) 2023-03-10 14:25:29 -05:00
Michael Quigley
84f5cd4e55
metrics agent needs soft deleted shares; kind of the whole point of soft deletes (#262) 2023-03-10 11:33:06 -05:00
Michael Quigley
fb14b12446
soft deletes for shares (#262) 2023-03-10 11:16:37 -05:00
Michael Quigley
01dd77ca3b
soft deletes for password_reset_request (#262) 2023-03-10 11:14:01 -05:00
Michael Quigley
d900043fa3
soft deletes for invite_tokens (#262) 2023-03-10 11:10:48 -05:00
Michael Quigley
b8d758080b
soft deletes for frontend (#262) 2023-03-10 11:07:57 -05:00
Michael Quigley
77894b18a1
reversing lint (#262) 2023-03-10 11:03:42 -05:00
Michael Quigley
d979d259c4
lint (#262) 2023-03-10 11:00:09 -05:00
Michael Quigley
bf63092cb2
better finder behavior (#262) 2023-03-10 10:57:59 -05:00
Michael Quigley
9da1137a78
soft delete support for account_requests (#262) 2023-03-09 15:29:15 -05:00
Michael Quigley
47fe0f546a
controller logic respects store.Account.Deleted flag (#262) 2023-03-09 15:18:26 -05:00
Michael Quigley
a0e94330c7
added 'deleted' flags to all store objects (#262) 2023-03-09 15:08:59 -05:00
Michael Quigley
4c8f7099b2
backend/frontend metrics (#128) 2023-03-09 14:29:40 -05:00
Michael Quigley
7ac9e25611
store the usage in influx (#128) 2023-03-07 16:29:39 -05:00
Michael Quigley
97f20acd87
look up share details from usage data (#128) 2023-03-07 15:27:39 -05:00
Michael Quigley
3a0c06f54d
ziti edge client in sdk package (#128) 2023-03-07 14:31:39 -05:00