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

sql: add telemetry for uses of secondary indexes with column families #44506

Merged
merged 1 commit into from
Jan 30, 2020

Conversation

rohany
Copy link
Contributor

@rohany rohany commented Jan 29, 2020

Fixes #44375.

Release note (sql change): This commit collects telemetry information
for uses of secondary indexes that use column families.

@rohany rohany requested a review from otan January 29, 2020 20:28
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@otan otan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @otan and @rohany)


pkg/sql/sqltelemetry/schema.go, line 35 at r1 (raw file):

// SecondaryIndexColumnFamiliesCounter is a counter that is incremented every time
// a secondary index that is separated into different column families is created.
var SecondaryIndexColumnFamiliesCounter = telemetry.GetCounterOnce("sql.schema.secondary_index_column_families")

this looks like it'll conflict!

@rohany
Copy link
Contributor Author

rohany commented Jan 29, 2020

Conflict with what? Or just a merge conflict?

Fixes cockroachdb#44375.

Release note (sql change): This commit collects telemetry information
for uses of secondary indexes that use column families.
@rohany
Copy link
Contributor Author

rohany commented Jan 30, 2020

bors r+

craig bot pushed a commit that referenced this pull request Jan 30, 2020
44506: sql: add telemetry for uses of secondary indexes with column families r=rohany a=rohany

Fixes #44375.

Release note (sql change): This commit collects telemetry information
for uses of secondary indexes that use column families.

Co-authored-by: Rohan Yadav <rohany@alumni.cmu.edu>
@craig
Copy link
Contributor

craig bot commented Jan 30, 2020

Build succeeded

@craig craig bot merged commit 6bd4439 into cockroachdb:master Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sql: add telemetry for column families with secondary indexes
3 participants