Commit Graph

502 Commits

Author SHA1 Message Date
Michael Quigley
243261d70a
limits check scaffolding in accessHandler 2023-06-06 10:54:57 -04:00
Michael Quigley
4a789ce341
need this 2023-06-05 16:16:07 -04:00
Michael Quigley
ec48d574fd
allocate an edge management session when it's needed, rather than trying to be efficient and keep one around 2023-06-05 16:01:04 -04:00
Cam Otts
fec0fd9e73
Format changes 2023-05-25 13:59:39 -05:00
Cam Otts
d6d5ac65a3
update deps 2023-05-25 10:50:38 -05:00
Michael Quigley
cf9514a0e1
lint 2023-05-23 14:30:24 -04:00
Michael Quigley
434972a9f1
tweaks to invites configuration and processing (#229) 2023-05-23 14:21:37 -04:00
Michael Quigley
93707b692d
password subsystem tweaks (#167) 2023-05-23 13:51:33 -04:00
Cam Otts
64fbfbf1d3
Enhanced password requirements and relevant ui changes 2023-05-23 10:51:15 -05:00
Cam Otts
6a572c9977
fix amqp 2023-05-22 15:23:55 -05:00
Michael Quigley
b334ff50b2
slight reworking on the configuration-based invite system to include open registration flag, contact details, and store strategy. moved to 'admin' stanza (#229) 2023-05-22 15:42:20 -04:00
Michael Quigley
41c30e4158
Merge branch 'v0.4.0' into v0.4_invite_overhaul 2023-05-22 15:07:24 -04:00
Michael Quigley
390c50b48e
logging lint 2023-05-22 14:54:28 -04:00
Michael Quigley
25116ec0cf
Merge branch 'v0.4.0' into amqp_ack 2023-05-22 14:39:17 -04:00
Michael Quigley
78ea98626d
support deleting multiple service policies in one shot; bug in limits (#329) 2023-05-18 14:25:53 -04:00
Michael Quigley
871bf2d528
make frontend dial policies for private access names more unique (include frontend token) (#329) 2023-05-18 13:19:16 -04:00
Michael Quigley
7963ba83b0
frontend details (#323) 2023-05-17 13:53:18 -04:00
Michael Quigley
05b53df6ba
frontends and data plane connections to owned shares (#323) 2023-05-17 13:21:01 -04:00
Michael Quigley
8a9e02e464
env+shrs -> env+res; making space to return frontends (#323) 2023-05-17 11:23:16 -04:00
Michael Quigley
75376969ca
limit details on explorer nodes (#320) 2023-05-16 13:45:43 -04:00
Michael Quigley
d0cedaf6e5
infrastructure for detecting limited accounts (#320) 2023-05-16 12:05:30 -04:00
Michael Quigley
9591f5150e
new overview response for '/overview' endpoint (#320) 2023-05-16 11:51:03 -04:00
Michael Quigley
7d48683df7
support for displaying limited shares in red in the visualizer (#320) 2023-05-15 14:14:52 -04:00
Michael Quigley
8bf2173c49
tweaks to get environment sparklines running (#327) 2023-05-12 13:24:29 -04:00
Michael Quigley
2655eaefc0
roughed in environment sparklines backend (#327) 2023-05-12 11:57:34 -04:00
Michael Quigley
ce4eac8e4c
metrics improvements (#234) 2023-05-11 15:56:29 -04:00
Michael Quigley
d1688c450d
'activity' (#234) 2023-05-11 15:41:21 -04:00
Michael Quigley
bb2b7c3da7
new sparkline implementation (#325) 2023-05-11 15:21:10 -04:00
Michael Quigley
945090f3e8
share metrics (#324) 2023-05-10 15:15:09 -04:00
Michael Quigley
c193482171
better slice size management? (#324) 2023-05-10 14:59:26 -04:00
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