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

[Merged by Bors] - Update time measurement of metrics for proposal builder in 1:n #6268

Closed
wants to merge 3 commits into from

Conversation

fasmat
Copy link
Member

@fasmat fasmat commented Aug 19, 2024

Motivation

This updates how timing metrics for the proposal builder are calculated.

Description

At the moment the measured timestamps include waiting times for other identities that might be managed by the node. I updated the latency struct to still calculate the total time as before, since for the decision if a proposal is late or not the absolute time between start and the publication are relevant, but I changed the in between steps to only measure the time the identity of interest was busy with the step.

Test Plan

n/a, just updated how metrics are collected

TODO

  • Explain motivation or link existing issue(s)
  • Test changes and document test plan
  • Update documentation as needed
  • Update changelog as needed

@fasmat fasmat self-assigned this Aug 19, 2024
@fasmat fasmat force-pushed the miner-metrics-1-n branch from a9226ef to 5816628 Compare August 19, 2024 08:49
@fasmat
Copy link
Member Author

fasmat commented Aug 19, 2024

bors merge

Copy link

codecov bot commented Aug 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.0%. Comparing base (dfcb513) to head (84f2dc1).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff           @@
##           develop   #6268   +/-   ##
=======================================
  Coverage     82.0%   82.0%           
=======================================
  Files          307     307           
  Lines        34105   34111    +6     
=======================================
+ Hits         27990   27997    +7     
+ Misses        4337    4335    -2     
- Partials      1778    1779    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

spacemesh-bors bot pushed a commit that referenced this pull request Aug 19, 2024
## Motivation

This updates how timing metrics for the proposal builder are calculated.
@spacemesh-bors
Copy link

Build failed:

  • ci-status

@fasmat
Copy link
Member Author

fasmat commented Aug 19, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Aug 19, 2024
## Motivation

This updates how timing metrics for the proposal builder are calculated.
@spacemesh-bors
Copy link

Build failed:

  • ci-status

@fasmat
Copy link
Member Author

fasmat commented Aug 19, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Aug 19, 2024
## Motivation

This updates how timing metrics for the proposal builder are calculated.
@spacemesh-bors
Copy link

Build failed:

@fasmat
Copy link
Member Author

fasmat commented Aug 19, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Aug 19, 2024
## Motivation

This updates how timing metrics for the proposal builder are calculated.
@spacemesh-bors
Copy link

Pull request successfully merged into develop.

Build succeeded:

@spacemesh-bors spacemesh-bors bot changed the title Update time measurement of metrics for proposal builder in 1:n [Merged by Bors] - Update time measurement of metrics for proposal builder in 1:n Aug 19, 2024
@spacemesh-bors spacemesh-bors bot closed this Aug 19, 2024
@spacemesh-bors spacemesh-bors bot deleted the miner-metrics-1-n branch August 19, 2024 19:25
fasmat added a commit that referenced this pull request Aug 22, 2024
## Motivation

This updates how timing metrics for the proposal builder are calculated.
fasmat added a commit that referenced this pull request Aug 22, 2024
## Motivation

This updates how timing metrics for the proposal builder are calculated.
fasmat added a commit that referenced this pull request Aug 22, 2024
…r in 1:n (#6282)

* Update time measurement of metrics for proposal builder in 1:n (#6268)

## Motivation

This updates how timing metrics for the proposal builder are calculated.

* Update CHANGELOG
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.

2 participants