remove redundant splitby middleware (#8996)

Found this double-copied line which a mistake. This PR removes one of
them which won't change behavior (besides removing duplicate spans/etc).
pull/8999/head
Owen Diehl 2 years ago committed by GitHub
parent 46af2cdcf1
commit 62403350a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      pkg/querier/queryrange/roundtrip.go

@ -317,7 +317,6 @@ func NewLogFilterTripperware(
NewLimitsMiddleware(limits),
NewQuerySizeLimiterMiddleware(schema.Configs, log, limits, codec, statsHandler),
queryrangebase.InstrumentMiddleware("split_by_interval", metrics.InstrumentMiddlewareMetrics),
queryrangebase.InstrumentMiddleware("split_by_interval", metrics.InstrumentMiddlewareMetrics),
SplitByIntervalMiddleware(schema.Configs, limits, codec, splitByTime, metrics.SplitByMetrics),
}

Loading…
Cancel
Save