mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-26 15:08:28 +00:00
Track expiry rate on pduCountTotal
This commit is contained in:
parent
99d8e1c107
commit
bcd3ef38d0
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue