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

Improve some tracing spans #10774

Merged
merged 2 commits into from
Mar 13, 2024
Merged

Improve some tracing spans #10774

merged 2 commits into from
Mar 13, 2024

Conversation

akhi3030
Copy link
Collaborator

Add a span and improve the naming of another

Add a span and improve the naming of another
@akhi3030 akhi3030 requested a review from a team as a code owner March 13, 2024 08:27
@akhi3030 akhi3030 requested a review from saketh-are March 13, 2024 08:27
Copy link

codecov bot commented Mar 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.73%. Comparing base (aa8fabd) to head (402f3ac).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #10774      +/-   ##
==========================================
+ Coverage   71.72%   71.73%   +0.01%     
==========================================
  Files         758      758              
  Lines      152795   152795              
  Branches   152795   152795              
==========================================
+ Hits       109589   109610      +21     
+ Misses      38220    38198      -22     
- Partials     4986     4987       +1     
Flag Coverage Δ
backward-compatibility 0.24% <0.00%> (ø)
db-migration 0.24% <0.00%> (ø)
genesis-check 1.42% <0.00%> (ø)
integration-tests 36.93% <83.33%> (-0.07%) ⬇️
linux 70.42% <100.00%> (+<0.01%) ⬆️
linux-nightly 71.21% <100.00%> (-0.01%) ⬇️
macos 54.75% <ø> (+0.03%) ⬆️
pytests 1.65% <0.00%> (ø)
sanity-checks 1.43% <0.00%> (ø)
unittests 67.47% <100.00%> (+0.02%) ⬆️
upgradability 0.29% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Collaborator

@nagisa nagisa left a comment

Choose a reason for hiding this comment

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

Thank you!

runtime/near-vm-runner/src/near_vm_runner.rs Outdated Show resolved Hide resolved
@akhi3030 akhi3030 enabled auto-merge March 13, 2024 11:21
@akhi3030 akhi3030 added this pull request to the merge queue Mar 13, 2024
Merged via the queue into near:master with commit ab86958 Mar 13, 2024
29 of 30 checks passed
@akhi3030 akhi3030 deleted the improve-spans branch March 13, 2024 12:02
github-merge-queue bot pushed a commit that referenced this pull request Mar 14, 2024
This instruments the `StoreCompiledContractCache` to show an overall
cost of these operations whenever they are used. The level I've chosen
here is `trace` to avoid polluting the traces too much in default
operation. #10774 has a targeted instrumentation at a higher level.
nagisa added a commit to nagisa/nearcore that referenced this pull request Mar 20, 2024
This instruments the `StoreCompiledContractCache` to show an overall
cost of these operations whenever they are used. The level I've chosen
here is `trace` to avoid polluting the traces too much in default
operation. near#10774 has a targeted instrumentation at a higher level.
VanBarbascu pushed a commit that referenced this pull request Mar 26, 2024
This instruments the `StoreCompiledContractCache` to show an overall
cost of these operations whenever they are used. The level I've chosen
here is `trace` to avoid polluting the traces too much in default
operation. #10774 has a targeted instrumentation at a higher level.
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