[ARVADOS] updated: 1.3.0-435-gd4da0c6ad
Git user
git at public.curoverse.com
Tue Mar 5 14:12:21 EST 2019
Summary of changes:
lib/dispatchcloud/worker/pool.go | 1 +
1 file changed, 1 insertion(+)
via d4da0c6adf235aa103337430fd73cf3bfba64fd9 (commit)
via 12ca5b7a44a0600374dd0d6f11dbda66a96ca1ff (commit)
from b20862479a05afec430f10067b8b417418b11eee (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit d4da0c6adf235aa103337430fd73cf3bfba64fd9
Merge: b20862479 12ca5b7a4
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date: Tue Mar 5 14:08:10 2019 -0500
Merge branch '14807-zero-metrics'
refs #14807
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>
commit 12ca5b7a44a0600374dd0d6f11dbda66a96ca1ff
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date: Mon Mar 4 23:00:00 2019 -0500
14807: Start reporting metrics immediately.
...instead of waiting for the first notify event.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>
diff --git a/lib/dispatchcloud/worker/pool.go b/lib/dispatchcloud/worker/pool.go
index 14f6a3efc..fe1c6ecc0 100644
--- a/lib/dispatchcloud/worker/pool.go
+++ b/lib/dispatchcloud/worker/pool.go
@@ -565,6 +565,7 @@ func (wp *Pool) registerMetrics(reg *prometheus.Registry) {
func (wp *Pool) runMetrics() {
ch := wp.Subscribe()
defer wp.Unsubscribe(ch)
+ wp.updateMetrics()
for range ch {
wp.updateMetrics()
}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list