Skip to content

Commit

Permalink
fix incorrectly set query frontend codec lookback delta
Browse files Browse the repository at this point in the history
  • Loading branch information
francoposa committed Nov 21, 2024
1 parent 3f60587 commit 028b10b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/mimir/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ func (t *Mimir) initFlusher() (serv services.Service, err error) {
// initQueryFrontendCodec initializes query frontend codec.
// NOTE: Grafana Enterprise Metrics depends on this.
func (t *Mimir) initQueryFrontendCodec() (services.Service, error) {
t.QueryFrontendCodec = querymiddleware.NewPrometheusCodec(t.Registerer, t.Cfg.Frontend.FrontendV2.LookBackDelta, t.Cfg.Frontend.QueryMiddleware.QueryResultResponseFormat, nil)
t.QueryFrontendCodec = querymiddleware.NewPrometheusCodec(t.Registerer, t.Cfg.Querier.EngineConfig.LookbackDelta, t.Cfg.Frontend.QueryMiddleware.QueryResultResponseFormat, nil)
return nil, nil
}

Expand Down

0 comments on commit 028b10b

Please sign in to comment.