-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
*: Upgrade Prometheus to v2.39.0 #5767
Changes from all commits
84d22a1
b98f5ae
681a9a1
39ea486
49978ca
231b005
2d2beba
8a5a6d9
634e2bb
717ced7
7fbf821
c1ae7d0
022ae2a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,7 +82,6 @@ func registerReceive(app *extkingpin.App) { | |
RetentionDuration: int64(time.Duration(*conf.retention) / time.Millisecond), | ||
NoLockfile: conf.noLockFile, | ||
WALCompression: conf.walCompression, | ||
AllowOverlappingBlocks: conf.tsdbAllowOverlappingBlocks, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am wondering if we make overlapping blocks a default at the TSDB level, on the compactor side should we also do the same? Right now it is not enabled by default, we can follow up it on a separate pr though. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it makes sense to be consistent and also enable it by default in the compactor. |
||
MaxExemplars: conf.tsdbMaxExemplars, | ||
EnableExemplarStorage: true, | ||
HeadChunksWriteQueueSize: int(conf.tsdbWriteQueueSize), | ||
|
@@ -330,7 +329,7 @@ func runReceive( | |
info.WithExemplarsInfoFunc(), | ||
) | ||
|
||
srv := grpcserver.New(logger, &receive.UnRegisterer{Registerer: reg}, tracer, grpcLogOpts, tagOpts, comp, grpcProbe, | ||
srv := grpcserver.New(logger, receive.NewUnRegisterer(reg), tracer, grpcLogOpts, tagOpts, comp, grpcProbe, | ||
grpcserver.WithServer(store.RegisterStoreServer(rw)), | ||
grpcserver.WithServer(store.RegisterWritableStoreServer(rw)), | ||
grpcserver.WithServer(exemplars.RegisterExemplarsServer(exemplars.NewMultiTSDB(dbs.TSDBExemplars))), | ||
|
@@ -840,7 +839,7 @@ func (rc *receiveConfig) registerFlag(cmd extkingpin.FlagClause) { | |
|
||
rc.tsdbMaxBlockDuration = extkingpin.ModelDuration(cmd.Flag("tsdb.max-block-duration", "Max duration for local TSDB blocks").Default("2h").Hidden()) | ||
|
||
cmd.Flag("tsdb.allow-overlapping-blocks", "Allow overlapping blocks, which in turn enables vertical compaction and vertical query merge.").Default("false").BoolVar(&rc.tsdbAllowOverlappingBlocks) | ||
cmd.Flag("tsdb.allow-overlapping-blocks", "Allow overlapping blocks, which in turn enables vertical compaction and vertical query merge. Does not do anything, enabled all the time.").Default("false").BoolVar(&rc.tsdbAllowOverlappingBlocks) | ||
|
||
cmd.Flag("tsdb.wal-compression", "Compress the tsdb WAL.").Default("true").BoolVar(&rc.walCompression) | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anything notable to mention? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides the perf improvements notables, I think the overlapping blocks being on by default is also notable.