epam / cloud-pipeline

Cloud agnostic genomics analysis, scientific computation and storage platform
https://cloud-pipeline.com
Apache License 2.0
146 stars 59 forks source link

Add storage volume usage and cost center info to the Billing Reports #1278

Open sidoruka opened 4 years ago

sidoruka commented 4 years ago

Background

sidoruka commented 4 years ago

Backport to release/0.16

rodichenko commented 4 years ago
  • Also, let's add the billing center and storage type (S3/GS/NFS/LustreFS/etc) into the storages tables reports (next to the owner name)

As for the part 2, @mzueva could you please extend current method response for storages - we need to have billing center, storage type grouping info as well

mzueva commented 4 years ago

@rodichenko billing_center and storage_type are returned for storage grouping now

rodichenko commented 4 years ago

@sidoruka GUI part implemented (d92d24432c40b5bffe927091b9abba152cbc5317, #1313)

sidoruka commented 4 years ago

@NShaforostov your turn

NShaforostov commented 4 years ago

Verified. Looks nice

rodichenko commented 4 years ago

@sidoruka @NShaforostov backported to release/0.16 (56836b298aee50cfb24e26654896b281e720d166)

mzueva commented 4 years ago

backported to release/0.16 via fe93fbab4501f997c0bf9a407b0b63945a117397 5a017f68ba6435e01ff24fd45fe10295409c19e1

sidoruka commented 4 years ago

@rodichenko @mzueva we shall have two new columns in the report:

rodichenko commented 4 years ago

@mzueva could you please provide the last available value for the requested range for each storage?

mzueva commented 4 years ago

@rodichenko storage grouping info now returns usage_storages_last field

rodichenko commented 4 years ago

@rodichenko @mzueva we shall have two new columns in the report:

  • Average volume: this is implemented already
  • Current volume: this one shall be added. This value shall display the "current" volume, occupied by the storage (i.e. the last available value for a specific timeframe)

@sidoruka current volume column added to the storages table and to the css export (#1356, a120285c906c5f61af0f03b923c27b9c3d4b0012)

rodichenko commented 4 years ago

@sidoruka backported to release/0.16 (09f20f9e8cd3b618cecb0294a14046166aeaadac)

mzueva commented 4 years ago

@sidoruka server-side cherry-pick to release/0.16 f30fcb294557a74e8c379bdc980e825c8422d2b6 dca4db79be08889723283d89b24b037ef65238b6