-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
release-24.1: changefeedccl: add scoping support for max_behind_nanos #139239
base: release-24.1
Are you sure you want to change the base?
Conversation
Thanks for opening a backport. Please check the backport criteria before merging:
If your backport adds new functionality, please ensure that the following additional criteria are satisfied:
Also, please add a brief release justification to the body of your PR to justify this |
f0224c3
to
e6cd080
Compare
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.
also not quite a failthful backport. can you try again?
@@ -1467,7 +1467,6 @@ func (cf *changeFrontier) closeMetrics() { | |||
if cf.metricsID > 0 { |
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.
the comments on 1461 are not removed here, why?
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.
removing those
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.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @angles-n-daemons, @asg0451, and @rharding6373)
@@ -1467,7 +1467,6 @@ func (cf *changeFrontier) closeMetrics() { | |||
if cf.metricsID > 0 { |
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.
removing those
Currently, changefeed.max_behind_nanos is a measurement of the lag of the furthest behind changefeed. We'd like to be able to support scoping/grouping changefeeds. This applies scoping to that metric similar to the scoping on changefeed.aggregator_progress. Fixes: cockroachdb#132281 Release note (ops change): the changefeed.max_behind_nanos metric now supports scoping with metric labels.
e6cd080
to
b70a94b
Compare
Backport 1/1 commits from #137534.
/cc @cockroachdb/release
release justification: needed for client
Currently, changefeed.max_behind_nanos is a measurement of the
lag of the furthest behind changefeed. We'd like to be able to
support scoping/grouping changefeeds. This applies scoping to
that metric similar to the scoping on changefeed.aggregator_progress.
Epic: none
Fixes: #132281
Release note (ops change): the changefeed.max_behind_nanos metric
now supports scoping with metric labels.