Commit Graph

1119 Commits

Author SHA1 Message Date
Michael Quigley
1315b493fc
warning graphic for limit email (#279); only run relax actions when reverting a limit not a warning (#276) 2023-04-07 15:34:39 -04:00
Michael Quigley
9bf17d4615
improved warning email text (#279) 2023-04-07 15:34:38 -04:00
Michael Quigley
d1b662dd52
share, environment, and account relax actions all support private shares in addition to public shares; consolidated relax code (#278) 2023-04-07 15:34:38 -04:00
Michael Quigley
78c3fd7a78
record share identifier for access private frontends (#278) 2023-04-07 15:34:38 -04:00
Michael Quigley
c8dbb9c7e4
store implementation for private_share_id (#278) 2023-04-07 15:34:37 -04:00
Michael Quigley
7935d4ee9c
sqlite3 'private_share_id' column in 'frontends' table (#278) 2023-04-07 15:34:37 -04:00
Michael Quigley
adaa462c99
add 'private_share_id' to store 'frontends' table (#278) 2023-04-07 15:34:37 -04:00
Michael Quigley
6de22790a4
check limit journals for creating environments or shares (#281) 2023-04-07 15:34:36 -04:00
Michael Quigley
1c8af5e647
debug lint (#276) 2023-04-07 15:34:36 -04:00
Michael Quigley
4bdcc3b4c8
empty metrics data sets are not an error (#280) 2023-04-07 15:34:35 -04:00
Michael Quigley
3c672df588
don't try to replace policies for deleted shares (#276) 2023-04-07 15:34:35 -04:00
Michael Quigley
4b354d8d7f
details about limits testing 2023-04-07 15:34:35 -04:00
Michael Quigley
32a53df58c
tweaks, improvements, and minor fixes to limits infrastructure as a result of share limit testing (#276) 2023-04-07 15:34:34 -04:00
Michael Quigley
49e936caf7
roughed in limit warning email actions (#276) 2023-04-07 15:34:34 -04:00
Michael Quigley
d57ef1fce7
limit warning emails (#276) 2023-04-07 15:34:34 -04:00
Michael Quigley
f4c3e1e0d5
acount limit and relax action implementations (#276) 2023-04-07 15:34:33 -04:00
Michael Quigley
f78ead73f7
environment limit and relax actions (#276) 2023-04-07 15:34:33 -04:00
Michael Quigley
427ef7e3f9
add trx to action interfaces; implement limit and relax for share (#276) 2023-04-07 15:34:32 -04:00
Michael Quigley
bf48ddec76
action execution logic (#276) 2023-04-07 15:34:32 -04:00
Michael Quigley
916251673f
account action skeletons (#276) 2023-04-07 15:34:32 -04:00
Michael Quigley
4995ddab90
environment action skeletons (#276) 2023-04-07 15:34:31 -04:00
Michael Quigley
caeebb71e6
share action skeletons (#276) 2023-04-07 15:34:31 -04:00
Michael Quigley
baa6c4e7dd
necessary actions (#276) 2023-04-07 15:34:31 -04:00
Michael Quigley
fdefa11db4
strategy -> action (#276) 2023-04-07 15:34:30 -04:00
Michael Quigley
54cda1fda2
handlers for account, environment, and strategy (#276) 2023-04-07 15:34:30 -04:00
Michael Quigley
14fed70a50
limit relax triggers and associated store tweaks (#273) 2023-04-07 15:34:30 -04:00
Michael Quigley
a374ab421d
to find the current latest journal entries for each account_id (#273) 2023-04-07 15:34:29 -04:00
Michael Quigley
5536a37372
self -> str 2023-04-07 15:34:29 -04:00
Michael Quigley
f45ddbc10f
lint (#276) 2023-04-07 15:34:29 -04:00
Michael Quigley
7590a60b3c
limit journal logic for limits.Agent (#273, #276) 2023-04-07 15:34:28 -04:00
Michael Quigley
aa19fd408c
working out the hitches in the limit journals (#273) 2023-04-07 15:34:28 -04:00
Michael Quigley
98c221304e
share limits check owned by limits.Agent now (#277) 2023-04-07 15:34:27 -04:00
Michael Quigley
de8dddbaf1
centralized environment limits check (#277) 2023-04-07 15:34:27 -04:00
Michael Quigley
26f36feed2
basic limits infrastructure for detecting warning and enforcement conditions (#271) 2023-04-07 15:34:27 -04:00
Michael Quigley
f1baddbf33
queue-based internal design for limits.Agent (#271) 2023-04-07 15:34:26 -04:00
Michael Quigley
f28e562664
naming (#271) 2023-04-07 15:34:26 -04:00
Michael Quigley
a6d6cfbe65
better account and environment total efficiency and accuracy; 'bytesRead'/'bytesWritten' -> 'rx'/'tx' (#271) 2023-04-07 15:34:26 -04:00
Michael Quigley
ecfae7975b
probably not an optimal approach for this flux query, but seems to be working (#271) 2023-04-07 15:34:25 -04:00
Michael Quigley
6813f3a336
working (but not correct) values for account and environment rx/tx (#271) 2023-04-07 15:34:25 -04:00
Michael Quigley
e3222555e2
flux query influx for duration totals (#271) 2023-04-07 15:34:24 -04:00
Michael Quigley
776109024d
more limits.Agent elaboration (#271) 2023-04-07 15:34:24 -04:00
Michael Quigley
128196738f
include rx|tx byte counts in limits journals (#273) 2023-04-07 15:34:24 -04:00
Michael Quigley
2c4a5d43d2
[account|environment|share] limit journals (#273) 2023-04-07 15:34:23 -04:00
Michael Quigley
133c1a9e2e
limits journals ddl (#273) 2023-04-07 15:34:23 -04:00
Michael Quigley
29f38de546
wire in the new 'limits.Agent' infrastructure; extend the 'metrics.Agent' to support additional 'metrics.UsageSink' instances (#271) 2023-04-07 15:34:23 -04:00
Michael Quigley
e824c87d08
metrics2 -> metrics (#270) 2023-04-07 15:34:22 -04:00
Michael Quigley
e1c79e687e
updated websocketSource (#270) 2023-04-07 15:34:22 -04:00
Michael Quigley
2e786f4d68
incorporate metrics.Agent into the controller (#270) 2023-04-07 15:34:22 -04:00
Michael Quigley
557da086e5
agent (#270) 2023-04-07 15:34:21 -04:00
Michael Quigley
df76754696
detail cache (#270) 2023-04-07 15:34:21 -04:00