Commit Graph

398 Commits

Author SHA1 Message Date
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