Skip to content

Commit 6b85c44

Browse files
committed
Fix build
1 parent 3fc9e64 commit 6b85c44

File tree

5 files changed

+4
-2
lines changed

5 files changed

+4
-2
lines changed

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ require (
113113

114114
require (
115115
github.com/cortexproject/promqlsmith v0.0.0-20240326071418-c2a9ca1e89f5
116+
github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.0.1
116117
github.com/hashicorp/golang-lru v0.6.0
117118
github.com/hashicorp/golang-lru/v2 v2.0.7
118119
github.com/mitchellh/go-ps v1.0.0

internal/cortex/frontend/transport/handler.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ type HandlerConfig struct {
4848
QueryStatsEnabled bool `yaml:"query_stats_enabled"`
4949
LogFailedQueries bool `yaml:"log_failed_queries"`
5050
FailedQueryCacheCapacity int `yaml:"failed_query_cache_capacity"`
51+
SlowQueryLogsUserHeader string `yaml:"slow_query_logs_user_header"`
5152
}
5253

5354
// Handler accepts queries and forwards them to RoundTripper. It can log slow queries,

pkg/query/endpointset.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ type endpointSetNodeCollector struct {
242242
labels []string
243243
connectionsWithAddr *prometheus.Desc
244244
connectionsWithKeys *prometheus.Desc
245+
logger log.Logger
245246
}
246247

247248
func newEndpointSetNodeCollector(logger log.Logger, labels ...string) *endpointSetNodeCollector {

pkg/receive/handler.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ import (
4646

4747
extpromhttp "github.com/thanos-io/thanos/pkg/extprom/http"
4848
"github.com/thanos-io/thanos/pkg/pool"
49-
"github.com/thanos-io/thanos/pkg/pool"
5049
"github.com/thanos-io/thanos/pkg/runutil"
5150
"github.com/thanos-io/thanos/pkg/server/http/middleware"
5251
"github.com/thanos-io/thanos/pkg/store/labelpb"

pkg/store/bucket_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ func TestBucketStore_TSDBInfo(t *testing.T) {
720720
MinTime: 0,
721721
MaxTime: 2000,
722722
},
723-
}, actual)
723+
})
724724
}
725725

726726
func TestBucketStore_Info(t *testing.T) {

0 commit comments

Comments
 (0)