Skip to content

Commit

Permalink
fix additional queue dimensions unsupported request logging (#7164)
Browse files Browse the repository at this point in the history
  • Loading branch information
francoposa authored Jan 18, 2024
1 parent fadc22f commit f4b5b04
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/frontend/v2/frontend_scheduler_adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package v2

import (
"context"
"fmt"
"time"

"github.com/go-kit/log"
Expand Down Expand Up @@ -90,7 +89,7 @@ func (a *frontendToSchedulerAdapter) extractAdditionalQueueDimensions(
return []string{ShouldQueryIngestersQueueDimension}, nil
default:
// no query time params to parse; cannot infer query component
level.Warn(a.log).Log("msg", "unsupported request type", "query", fmt.Sprintf("%+v", httpRequest))
level.Debug(a.log).Log("msg", "unsupported request type for additional queue dimensions", "query", httpRequest.URL.String())
return nil, nil
}
}
Expand Down

0 comments on commit f4b5b04

Please sign in to comment.