Track expiry rate on pduCountTotal
parent
99d8e1c107
commit
bcd3ef38d0
|
@ -358,6 +358,7 @@ func (t *inputWorker) run() {
|
||||||
select {
|
select {
|
||||||
case <-task.ctx.Done():
|
case <-task.ctx.Done():
|
||||||
task.err = context.DeadlineExceeded
|
task.err = context.DeadlineExceeded
|
||||||
|
pduCountTotal.WithLabelValues("expired").Inc()
|
||||||
return
|
return
|
||||||
default:
|
default:
|
||||||
evStart := time.Now()
|
evStart := time.Now()
|
||||||
|
|
Loading…
Reference in New Issue