16636: a-d-c: add two more metrics:
authorWard Vandewege <ward@curii.com>
Wed, 9 Sep 2020 21:06:31 +0000 (17:06 -0400)
committerWard Vandewege <ward@curii.com>
Thu, 10 Sep 2020 14:57:06 +0000 (10:57 -0400)
commit7f4da9388e3d5ec8f38f6d6408916d1d46dfb10f
treeca7446d3805fcffb3cfdfc5e6f6f645e89491497
parent99df0022e64521d35225c0ddd531920e62ddfffb
16636: a-d-c: add two more metrics:

  (gauge) number of containers allocated to VMs but not started yet (because VMs are pending/booting)
  (gauge) number of containers not allocated to VMs (because provider quota is reached)

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>
lib/dispatchcloud/dispatcher.go
lib/dispatchcloud/scheduler/run_queue.go
lib/dispatchcloud/scheduler/run_queue_test.go
lib/dispatchcloud/scheduler/scheduler.go
lib/dispatchcloud/scheduler/sync_test.go