Skip to content

Commit

Permalink
store: added a log error print when proxy limit are violated (#7683)
Browse files Browse the repository at this point in the history
* store: added a log error print when proxy limit are violated

Signed-off-by: Tidhar Klein Orbach <[email protected]>

* Update pkg/store/proxy.go

Co-authored-by: Pedro Tanaka <[email protected]>
Signed-off-by: Tidhar Klein Orbach <[email protected]>

---------

Signed-off-by: Tidhar Klein Orbach <[email protected]>
Signed-off-by: Tidhar Klein Orbach <[email protected]>
Co-authored-by: Pedro Tanaka <[email protected]>
  • Loading branch information
tizki and pedro-stanaka authored Sep 13, 2024
1 parent f4af8aa commit cbf4fb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/store/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ func (s *ProxyStore) Series(originalRequest *storepb.SeriesRequest, srv storepb.
}

if err := srv.Send(resp); err != nil {
level.Error(reqLogger).Log("msg", "failed to stream response", "error", err)
return status.Error(codes.Unknown, errors.Wrap(err, "send series response").Error())
}
}
Expand Down

0 comments on commit cbf4fb4

Please sign in to comment.