From bcd3ef38d0c288ebbad54e8cd05f78ff22376c02 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 5 Jul 2021 13:47:37 +0100 Subject: [PATCH] Track expiry rate on pduCountTotal --- federationapi/routing/send.go | 1 + 1 file changed, 1 insertion(+) diff --git a/federationapi/routing/send.go b/federationapi/routing/send.go index dde07701a..d5e44f72c 100644 --- a/federationapi/routing/send.go +++ b/federationapi/routing/send.go @@ -358,6 +358,7 @@ func (t *inputWorker) run() { select { case <-task.ctx.Done(): task.err = context.DeadlineExceeded + pduCountTotal.WithLabelValues("expired").Inc() return default: evStart := time.Now()