metaspace2020 / metaspace

Cloud engine and platform for metabolite annotation for imaging mass spectrometry
https://metaspace2020.eu/
Apache License 2.0
44 stars 9 forks source link

Cost calculation script + cloudwatch bugfix #1492

Closed sergii-mamedov closed 4 months ago

sergii-mamedov commented 4 months ago
  1. Added script update_perf_profile_costs.py. This script allows you to calculate costs for those perf_profile_entry that were not calculated due to processing problems. You can also optionally save costs in PostgreSQL.
  2. Fixed an error in dataset_daemon.py and lithops.py related to the self.cost variable.
  3. Added information about instance_type to perf_profile_entry table for StandaloneExecutor.
  4. In cloudwatch.py redesigned the logic of requests to cloudwatch. Now the entire time period is divided into 10-minute intervals. Details in the comments in the code.