Commit Graph

387 Commits

Author SHA1 Message Date
d57ef1fce7 limit warning emails (#276) 2023-04-07 15:34:34 -04:00
f4c3e1e0d5 acount limit and relax action implementations (#276) 2023-04-07 15:34:33 -04:00
f78ead73f7 environment limit and relax actions (#276) 2023-04-07 15:34:33 -04:00
427ef7e3f9 add trx to action interfaces; implement limit and relax for share (#276) 2023-04-07 15:34:32 -04:00
bf48ddec76 action execution logic (#276) 2023-04-07 15:34:32 -04:00
916251673f account action skeletons (#276) 2023-04-07 15:34:32 -04:00
4995ddab90 environment action skeletons (#276) 2023-04-07 15:34:31 -04:00
caeebb71e6 share action skeletons (#276) 2023-04-07 15:34:31 -04:00
baa6c4e7dd necessary actions (#276) 2023-04-07 15:34:31 -04:00
fdefa11db4 strategy -> action (#276) 2023-04-07 15:34:30 -04:00
54cda1fda2 handlers for account, environment, and strategy (#276) 2023-04-07 15:34:30 -04:00
14fed70a50 limit relax triggers and associated store tweaks (#273) 2023-04-07 15:34:30 -04:00
a374ab421d to find the current latest journal entries for each account_id (#273) 2023-04-07 15:34:29 -04:00
5536a37372 self -> str 2023-04-07 15:34:29 -04:00
f45ddbc10f lint (#276) 2023-04-07 15:34:29 -04:00
7590a60b3c limit journal logic for limits.Agent (#273, #276) 2023-04-07 15:34:28 -04:00
aa19fd408c working out the hitches in the limit journals (#273) 2023-04-07 15:34:28 -04:00
98c221304e share limits check owned by limits.Agent now (#277) 2023-04-07 15:34:27 -04:00
de8dddbaf1 centralized environment limits check (#277) 2023-04-07 15:34:27 -04:00
26f36feed2 basic limits infrastructure for detecting warning and enforcement conditions (#271) 2023-04-07 15:34:27 -04:00
f1baddbf33 queue-based internal design for limits.Agent (#271) 2023-04-07 15:34:26 -04:00
f28e562664 naming (#271) 2023-04-07 15:34:26 -04:00
a6d6cfbe65 better account and environment total efficiency and accuracy; 'bytesRead'/'bytesWritten' -> 'rx'/'tx' (#271) 2023-04-07 15:34:26 -04:00
ecfae7975b probably not an optimal approach for this flux query, but seems to be working (#271) 2023-04-07 15:34:25 -04:00
6813f3a336 working (but not correct) values for account and environment rx/tx (#271) 2023-04-07 15:34:25 -04:00
e3222555e2 flux query influx for duration totals (#271) 2023-04-07 15:34:24 -04:00
776109024d more limits.Agent elaboration (#271) 2023-04-07 15:34:24 -04:00
128196738f include rx|tx byte counts in limits journals (#273) 2023-04-07 15:34:24 -04:00
2c4a5d43d2 [account|environment|share] limit journals (#273) 2023-04-07 15:34:23 -04:00
133c1a9e2e limits journals ddl (#273) 2023-04-07 15:34:23 -04:00
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
e824c87d08 metrics2 -> metrics (#270) 2023-04-07 15:34:22 -04:00
e1c79e687e updated websocketSource (#270) 2023-04-07 15:34:22 -04:00
2e786f4d68 incorporate metrics.Agent into the controller (#270) 2023-04-07 15:34:22 -04:00
557da086e5 agent (#270) 2023-04-07 15:34:21 -04:00
df76754696 detail cache (#270) 2023-04-07 15:34:21 -04:00
eb260e32c0 lint (#270) 2023-04-07 15:34:21 -04:00
6e4645bce0 influxWriter (#270) 2023-04-07 15:34:20 -04:00
c2a9ea9161 usageIngest (#270) 2023-04-07 15:34:20 -04:00
361b724716 amqpSource (#270) 2023-04-07 15:34:20 -04:00
75346c269b lint (#270) 2023-04-07 15:34:19 -04:00
173a5bd16c basic amqp bridge (#270) 2023-04-07 15:34:19 -04:00
e6bac3f684 revamped fileSource+amqpSink (#270) 2023-04-07 15:34:19 -04:00
98896d995f amqp sender (#270) 2023-04-07 15:34:18 -04:00
3fd570fe27 lint 2023-04-07 15:34:18 -04:00
1d6ccfdeb6 record environment and account ids on metrics records (#235); 'zrok metrics' -> 'zrok ctrl metrics' (#269) 2023-04-07 15:34:18 -04:00
69a232c059 write circuit data to metrics (#263) 2023-04-07 15:34:17 -04:00
7c18c8b6e7 consolidated configuration; 'zrok metrics' and 'zrok ctrl' share config (#269) 2023-04-07 15:34:16 -04:00
b6337a48a9 incorporate a separate 'warning' and 'limit' threshold (#235) 2023-04-07 15:34:16 -04:00
6e8d0cdcb1 roughed in limits model that incorporates bandwidth limit specs (#235) 2023-04-07 15:34:16 -04:00