aboutsummaryrefslogtreecommitdiff
path: root/federationapi
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2021-07-05 13:47:37 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2021-07-05 13:47:37 +0100
commitbcd3ef38d0c288ebbad54e8cd05f78ff22376c02 (patch)
tree397a158b94e4799e12daa11abbb84dbafddeee35 /federationapi
parent99d8e1c107c6c328d3b4b33d2704b3fcddd2421b (diff)
Track expiry rate on pduCountTotal
Diffstat (limited to 'federationapi')
-rw-r--r--federationapi/routing/send.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/federationapi/routing/send.go b/federationapi/routing/send.go
index dde07701..d5e44f72 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()