Story #15865
[arvados-dispatch-cloud] Cumulative instance time and cost metrics
Start date:
Due date:
% Done:
0%
Estimated time:
Story points:
-
Description
From Dispatching containers to cloud VMs
In principle, these metrics can be estimated based on the existing instances_total and instances_price metrics. However:
- (counter) cumulative instance time and cost, partitioned by allocation state and node type
- prometheus doesn't offer an integral function
- updating a cumulative metric after every worker/pool update (i.e., in updateMetrics()) would provide decent accuracy even when prometheus sampling is infrequent/unreliable.
Related issues
History
#1
Updated by Tom Clegg about 1 year ago
- Related to Story #13908: [Epic] Replace SLURM for cloud job scheduling/dispatching added
#2
Updated by Tom Clegg about 1 year ago
example
instance_usage_cost{category="inuse",instance_type="z1.xxl"} 1.234 instance_usage_seconds{category="inuse",instance_type="z1.xxl"} 3600
#3
Updated by Tom Clegg 6 months ago
- Related to Feature #16636: [arvados-dispatch-cloud] Add instance metrics added