stats were logged without a log level making them not correctly filterable. (#4872)

pull/4880/head
Ed Welch 4 years ago committed by GitHub
parent 7f71c5f051
commit dccbe51799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/querier/queryrange/stats.go

@ -103,7 +103,7 @@ func StatsCollectorMiddleware() queryrange.Middleware {
if statistics != nil {
// Re-calculate the summary then log and record metrics for the current query
statistics.ComputeSummary(time.Since(start))
statistics.Log(logger)
statistics.Log(level.Debug(logger))
}
ctxValue := ctx.Value(ctxKey)
if data, ok := ctxValue.(*queryData); ok {

Loading…
Cancel
Save