Skip to content

Conversation

@cce
Copy link
Contributor

@cce cce commented Dec 21, 2021

Summary

This piggybacks off the places where "session" is added to telemetry events, to additionally add a "v" key containing the version string.

Test Plan

Examine log output from tests.

@codecov-commenter
Copy link

codecov-commenter commented Dec 21, 2021

Codecov Report

Merging #3341 (2cb8e66) into master (c8c6fb7) will decrease coverage by 0.01%.
The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3341      +/-   ##
==========================================
- Coverage   47.74%   47.73%   -0.02%     
==========================================
  Files         370      370              
  Lines       60262    60270       +8     
==========================================
- Hits        28774    28768       -6     
- Misses      28180    28191      +11     
- Partials     3308     3311       +3     
Impacted Files Coverage Δ
logging/log.go 41.26% <33.33%> (-0.20%) ⬇️
logging/telemetry.go 81.35% <100.00%> (+0.48%) ⬆️
logging/telemetryFilteredHook.go 90.00% <100.00%> (+0.71%) ⬆️
crypto/merkletrie/trie.go 66.42% <0.00%> (-2.19%) ⬇️
crypto/merkletrie/node.go 91.62% <0.00%> (-1.87%) ⬇️
catchup/service.go 68.88% <0.00%> (-1.24%) ⬇️
catchup/peerSelector.go 98.95% <0.00%> (-1.05%) ⬇️
network/wsNetwork.go 62.79% <0.00%> (ø)
data/transactions/verify/txn.go 45.02% <0.00%> (ø)
data/abi/abi_type.go 88.62% <0.00%> (+0.94%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c8c6fb7...2cb8e66. Read the comment docs.

@cce cce requested review from tsachiherman and winder January 5, 2022 14:40
winder
winder previously requested changes Jan 6, 2022
Copy link
Contributor

@winder winder left a comment

Choose a reason for hiding this comment

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

Looks good, just noticed one small bug

@tsachiherman tsachiherman dismissed winder’s stale review February 10, 2022 20:49

requested changes applied.

@tsachiherman tsachiherman merged commit 102c6ff into algorand:master Feb 10, 2022
tsachiherman pushed a commit that referenced this pull request Mar 4, 2022
## Summary

In #3341 I neglected to notice there are two places that generate telemetry configuration, ReadTelemetryConfigOrDefault and EnsureTelemetryConfigCreated. This updates the latter.

## Test Plan

Updated tests to check and handle new default.
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.

4 participants