Commit Graph

1107 Commits

Author SHA1 Message Date
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
Michael Quigley
eb260e32c0
lint (#270) 2023-04-07 15:34:21 -04:00
Michael Quigley
6e4645bce0
influxWriter (#270) 2023-04-07 15:34:20 -04:00
Michael Quigley
c2a9ea9161
usageIngest (#270) 2023-04-07 15:34:20 -04:00
Michael Quigley
361b724716
amqpSource (#270) 2023-04-07 15:34:20 -04:00
Michael Quigley
75346c269b
lint (#270) 2023-04-07 15:34:19 -04:00
Michael Quigley
173a5bd16c
basic amqp bridge (#270) 2023-04-07 15:34:19 -04:00
Michael Quigley
e6bac3f684
revamped fileSource+amqpSink (#270) 2023-04-07 15:34:19 -04:00
Michael Quigley
98896d995f
amqp sender (#270) 2023-04-07 15:34:18 -04:00
Michael Quigley
3fd570fe27
lint 2023-04-07 15:34:18 -04:00
Michael Quigley
1d6ccfdeb6
record environment and account ids on metrics records (#235); 'zrok metrics' -> 'zrok ctrl metrics' (#269) 2023-04-07 15:34:18 -04:00
Michael Quigley
69a232c059
write circuit data to metrics (#263) 2023-04-07 15:34:17 -04:00
Michael Quigley
4c469c3333
reference config no longer needed (#269) 2023-04-07 15:34:17 -04:00