Skip to content

Commit 1cf71ba

Browse files
authored
Add log message for partial failure on push (#4853)
Signed-off-by: Daniel Deluiggi <ddeluigg@amazon.com> Signed-off-by: Daniel Deluiggi <ddeluigg@amazon.com>
1 parent 8e6d13c commit 1cf71ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/ingester/ingester.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,6 +1006,7 @@ func (i *Ingester) Push(ctx context.Context, req *cortexpb.WriteRequest) (*corte
10061006
// of it, so that we can return it back to the distributor, which will return a
10071007
// 400 error to the client. The client (Prometheus) will not retry on 400, and
10081008
// we actually ingested all samples which haven't failed.
1009+
level.Warn(logutil.WithContext(ctx, i.logger)).Log("msg", "partial failure to push", "err", err)
10091010
switch cause := errors.Cause(err); cause {
10101011
case storage.ErrOutOfBounds:
10111012
sampleOutOfBoundsCount++

0 commit comments

Comments
 (0)