Skip to content

Commit

Permalink
updated metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
gopherus committed Oct 8, 2024
1 parent 56b10f6 commit 2df4159
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions collector/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ func (s *Service) Flush(batch *Batch) error {
data := s.mapperFn(batch.Accumulator)
if err := s.load(context.Background(), data, batch.ID); err != nil {
atomic.StoreUint32(&batch.flushStarted, 0)
stats.Append(err)
return err
}

Expand Down

0 comments on commit 2df4159

Please sign in to comment.