Skip to content

Commit 2d2e661

Browse files
committed
default 1GB
1 parent ed87c72 commit 2d2e661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/thanos/query_frontend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func registerQueryFrontend(app *extkingpin.App) {
148148
"Set to 0 to disable. Set to < 0 to enable on all queries.").Default("0").DurationVar(&cfg.CortexHandlerConfig.LogQueriesLongerThan)
149149

150150
cmd.Flag("query-frontend.log-queries-more-expensive-than", "Log queries that fetch more data than the specified bytes. "+
151-
"Set to 0 to disable. Otherwise must be a positive value.").Default("0").Uint64Var(&cfg.CortexHandlerConfig.LogQueriesMoreExpensiveThan)
151+
"Set to 0 to disable. Otherwise must be a positive value. Default is 1GB").Default("1073741824").Uint64Var(&cfg.CortexHandlerConfig.LogQueriesMoreExpensiveThan)
152152

153153
cmd.Flag("query-frontend.log-failed-queries", "Log failed queries due to any reason").Default("true").BoolVar(&cfg.CortexHandlerConfig.LogFailedQueries)
154154

0 commit comments

Comments
 (0)