Skip to content
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

changefeedccl: give notice when metrics_label set without child_metrics #94948

Merged
merged 1 commit into from
Jan 17, 2023

Conversation

samiskin
Copy link
Contributor

@samiskin samiskin commented Jan 9, 2023

Resolves #75682

Surfaces a notice of

server.child_metrics.enabled is set to false, metrics will only be published to the '<scope>' label when it is set to true"

When child_metrics setting isn't enabled during changefeed creation

Release note (enterprise change): Changefeeds created/altered with a metrics_label set while server.child_metrics.enabled is false will now provide the user a notice upon creation.

@samiskin samiskin requested a review from miretskiy January 9, 2023 19:36
@samiskin samiskin requested a review from a team as a code owner January 9, 2023 19:36
@samiskin samiskin requested a review from a team January 9, 2023 19:36
@samiskin samiskin requested a review from a team as a code owner January 9, 2023 19:36
pkg/server/status/recorder.go Show resolved Hide resolved
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@samiskin samiskin force-pushed the cdc-metrics-label-notice branch from eeba9c8 to 9fbd24f Compare January 9, 2023 19:41
Resolves cockroachdb#75682

Surfaces a notice of
```
server.child_metrics.enabled is set to false, metrics will only be published to
the '<scope>' label when it is set to true"
```
When child_metrics setting isn't enabled during changefeed creation

Release note (enterprise change): Changefeeds created/altered with a
metrics_label set while server.child_metrics.enabled is false will now provide
the user a notice upon creation.

<what was there before: Previously, ...>
<why it needed to change: This was inadequate because ...>
<what you did about it: To address this, this patch ...>
@samiskin samiskin force-pushed the cdc-metrics-label-notice branch from 9fbd24f to f5a5b4b Compare January 9, 2023 20:46
@samiskin
Copy link
Contributor Author

bors r+

@rail
Copy link
Member

rail commented Jan 11, 2023

bors single on

@rail
Copy link
Member

rail commented Jan 11, 2023

bors r-

@craig
Copy link
Contributor

craig bot commented Jan 11, 2023

Canceled.

@rail
Copy link
Member

rail commented Jan 11, 2023

bors r+ single off

@dhartunian dhartunian removed the request for review from a team January 11, 2023 17:31
@craig
Copy link
Contributor

craig bot commented Jan 11, 2023

This PR was included in a batch that successfully built, but then failed to merge into master. It will not be retried.

Additional information:

@rail
Copy link
Member

rail commented Jan 11, 2023

bors r-
We have temporarily disabled bors for merges. Please merge the PR manually when all required checks pass.

1 similar comment
@rail
Copy link
Member

rail commented Jan 11, 2023

bors r-
We have temporarily disabled bors for merges. Please merge the PR manually when all required checks pass.

@samiskin
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Jan 17, 2023

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Jan 17, 2023

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants