Skip to content

execstats: add cumulative contention time to the TraceAnalyzer#59299

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
asubiotto:tact
Feb 1, 2021
Merged

execstats: add cumulative contention time to the TraceAnalyzer#59299
craig[bot] merged 1 commit intocockroachdb:masterfrom
asubiotto:tact

Conversation

@asubiotto
Copy link
Copy Markdown
Contributor

Depends on #59132
Closes #56797

This commit adds the summing of each processor's contention time to the
TraceAnalyzer. This stat is returned as a node and query level stat.

Additionally, this commit adds a ContentionTime field to the
StatementStatistics protobuf used in the DB Console.

Release note: None

@asubiotto asubiotto requested review from a team and RaduBerinde January 22, 2021 12:51
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Member

@RaduBerinde RaduBerinde 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! 1 of 0 LGTMs obtained

@asubiotto asubiotto requested a review from a team January 29, 2021 12:50
This commit adds the summing of each processor's contention time to the
TraceAnalyzer. This stat is returned as a node and query level stat.

Additionally, this commit adds a ContentionTime field to the
StatementStatistics protobuf used in the DB Console.

Release note: None
@asubiotto
Copy link
Copy Markdown
Contributor Author

bors r=RaduBerinde

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Feb 1, 2021

Build succeeded:

@craig craig bot merged commit e3158f9 into cockroachdb:master Feb 1, 2021
@asubiotto asubiotto deleted the tact branch February 1, 2021 15:49
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.

execstats: calculate total contention time

3 participants