Skip to content

Commit

Permalink
[aggregator/client] Include instance ID in write errors (#2945)
Browse files Browse the repository at this point in the history
  • Loading branch information
abliqo authored Nov 24, 2020
1 parent 12ffd64 commit 935d839
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aggregator/client/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ func (q *queue) writeAndReset() {
if err := q.writeFn(q.buf); err != nil {
q.log.Error("error writing data",
zap.Int("buffer_size", len(q.buf)),
zap.String("target_instance_id", q.instance.ID()),
zap.String("target_instance", q.instance.Endpoint()),
zap.Error(err),
)
Expand Down

0 comments on commit 935d839

Please sign in to comment.