-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
catalog: add telemetry for descriptor validation errors #62546
Conversation
3821354
to
c30cfb7
Compare
da8a8a0
to
3245ca9
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.
Reviewed 5 of 12 files at r1.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @postamar)
pkg/sql/testdata/telemetry/error, line 70 at r1 (raw file):
errorcodes.22012 # Descriptor validation failure on transaction commit.
any interest in exercising the other telemetry counters you introduced?
This commit adds `sql.schema.validation_errors.*` telemetry keys to descriptor validation errors. Fixes cockroachdb#61786. Release note: None
3245ca9
to
edcf5a8
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.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @ajwerner)
pkg/sql/testdata/telemetry/error, line 70 at r1 (raw file):
Previously, ajwerner wrote…
any interest in exercising the other telemetry counters you introduced?
I've added a couple of read counter test cases. To be honest I was struggling in crafting the test cases within the confines of these logic tests. Although, that's rather a good thing, isn't it?
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.
Reviewed 7 of 12 files at r1, 1 of 1 files at r2.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @postamar)
pkg/sql/testdata/telemetry/error, line 70 at r1 (raw file):
Previously, postamar (Marius Posta) wrote…
I've added a couple of read counter test cases. To be honest I was struggling in crafting the test cases within the confines of these logic tests. Although, that's rather a good thing, isn't it?
the unsafe injection with the force flag is a nice big hammer. This works.
Thanks for the review! bors r+ |
bors r+ |
Already running a review |
Build succeeded: |
This commit adds
sql.schema.validation_errors.*
telemetry keys todescriptor validation errors.
Fixes #61786.
Release note: None