Commit 7ea226bf authored by acud's avatar acud Committed by GitHub

fix: pusher log on err (#1758)

parent 808326fa
...@@ -151,6 +151,7 @@ LOOP: ...@@ -151,6 +151,7 @@ LOOP:
} else { } else {
s.metrics.TotalErrors.Inc() s.metrics.TotalErrors.Inc()
s.metrics.ErrorTime.Observe(time.Since(startTime).Seconds()) s.metrics.ErrorTime.Observe(time.Since(startTime).Seconds())
logger.Tracef("pusher: cannot push chunk %s: %v", ch.Address().String(), err)
} }
mtx.Lock() mtx.Lock()
delete(inflight, ch.Address().String()) delete(inflight, ch.Address().String())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment