Skip to content

Commit

Permalink
Changing store to match debug level (thanos-io#5981)
Browse files Browse the repository at this point in the history
Signed-off-by: Kama Huang <[email protected]>

Signed-off-by: Kama Huang <[email protected]>
  • Loading branch information
kama910 authored and Nathaniel Graham committed May 18, 2023
1 parent ec63dd5 commit a6e549a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/store/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func (s *ProxyStore) Series(originalRequest *storepb.SeriesRequest, srv storepb.

if len(stores) == 0 {
err := errors.New("No StoreAPIs matched for this query")
level.Warn(reqLogger).Log("err", err, "stores", strings.Join(storeDebugMsgs, ";"))
level.Debug(reqLogger).Log("err", err, "stores", strings.Join(storeDebugMsgs, ";"))
if sendErr := srv.Send(storepb.NewWarnSeriesResponse(err)); sendErr != nil {
level.Error(reqLogger).Log("err", sendErr)
return status.Error(codes.Unknown, errors.Wrap(sendErr, "send series response").Error())
Expand Down

0 comments on commit a6e549a

Please sign in to comment.