Skip to content

Commit

Permalink
fix: missing puller metric (#4506)
Browse files Browse the repository at this point in the history
  • Loading branch information
istae authored Dec 13, 2023
1 parent c40734e commit 29e8462
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/puller/puller.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ func (p *Puller) syncWorker(ctx context.Context, peer swarm.Address, bin uint8,
default:
}

p.metrics.SyncWorkerIterCounter.Inc()

s, _, _, err := p.nextPeerInterval(peer, bin)
if err != nil {
p.metrics.SyncWorkerErrCounter.Inc()
Expand Down

0 comments on commit 29e8462

Please sign in to comment.