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

telemetry: fine-grained breakdown of AssembleBlockStats.StopReason #5191

Merged
merged 1 commit into from
Mar 10, 2023

Conversation

cce
Copy link
Contributor

@cce cce commented Mar 10, 2023

Summary

Some of the AssembleBlockStats StopReason codes (especially AssembleBlockTimeout) are overloaded and catch multiple cases of block assembly completing. This splits out each case into a unique StopReason.

Test Plan

Telemetry only change, existing tests should pass.

@cce cce assigned jannotti and unassigned jannotti Mar 10, 2023
Copy link
Contributor

@jannotti jannotti left a comment

Choose a reason for hiding this comment

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

Love it.

@codecov
Copy link

codecov bot commented Mar 10, 2023

Codecov Report

Merging #5191 (f37fbbd) into master (b41ae08) will increase coverage by 0.92%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #5191      +/-   ##
==========================================
+ Coverage   52.69%   53.61%   +0.92%     
==========================================
  Files         436      436              
  Lines       54876    54876              
==========================================
+ Hits        28916    29422     +506     
+ Misses      23612    23163     -449     
+ Partials     2348     2291      -57     
Impacted Files Coverage Δ
data/pools/transactionPool.go 49.77% <0.00%> (ø)
logging/telemetryspec/metric.go 81.91% <ø> (ø)

... and 71 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@cce cce merged commit ae33119 into algorand:master Mar 10, 2023
@cce cce deleted the telemetry-clarify-stopreason branch March 10, 2023 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants