From f04e5b9f977c2fde733bf2ed1e693312bb33f960 Mon Sep 17 00:00:00 2001 From: Ted Blackman Date: Wed, 2 Oct 2019 03:13:11 -0400 Subject: [PATCH] alef: print more --- pkg/arvo/sys/vane/alef.hoon | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/arvo/sys/vane/alef.hoon b/pkg/arvo/sys/vane/alef.hoon index b8f8c6d2a0..004d028431 100644 --- a/pkg/arvo/sys/vane/alef.hoon +++ b/pkg/arvo/sys/vane/alef.hoon @@ -586,6 +586,7 @@ cwnd=_1 num-live=@ud counter=@ud + start=@da == +$ live-packet-key [=message-num =fragment-num] +$ live-packet-val @@ -2203,6 +2204,7 @@ =. metrics.state metrics.- =. live.state live.- ~? =(0 (mod counter.metrics.state 20)) [fragment-num show:gauge] + =? start.metrics.state =(0 fragment-num) now :: packet-pump :: @@ -2242,7 +2244,8 @@ =- =. metrics.state metrics.- =. live.state live.- :: - ~& 'DONE'^[fragment-num show:gauge] + =/ elapsed=@dr (sub now start.metrics.state) + ~& 'DONE'^[message-num seconds=(div elapsed ~s1) show:gauge] packet-pump :: ^- $: metrics=pump-metrics