Skip to content

Commit

Permalink
Merge pull request #6964 from thanos-io/handler_fix_tags
Browse files Browse the repository at this point in the history
receive: fix adding fields to logger
  • Loading branch information
MichaHoffmann authored Dec 5, 2023
2 parents e578b1f + a307d60 commit 1bcfec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/receive/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ func (h *Handler) fanoutForward(pctx context.Context, tenant string, wreqs map[e
if id, ok := middleware.RequestIDFromContext(pctx); ok {
logTags = append(logTags, "request-id", id)
}
tLogger = log.With(h.logger, logTags)
tLogger = log.With(h.logger, logTags...)
}

// NOTE(GiedriusS): First write locally because inside of the function we check if the local TSDB has cached strings.
Expand Down

0 comments on commit 1bcfec0

Please sign in to comment.