Skip to content

Telemetry: Remove unused TelemetryOperation#4935

Merged
michaeldiamant merged 2 commits intoalgorand:masterfrom
michaeldiamant:telemetry_start_operation
Jan 3, 2023
Merged

Telemetry: Remove unused TelemetryOperation#4935
michaeldiamant merged 2 commits intoalgorand:masterfrom
michaeldiamant:telemetry_start_operation

Conversation

@michaeldiamant
Copy link
Copy Markdown
Contributor

Proposes removing what appears to be an unused telemetry functionality: TelemetryOperation.

Since I found no usage, I'm wondering if it's defunct functionality.

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 22, 2022

Codecov Report

Merging #4935 (26d9874) into master (35bcd35) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4935      +/-   ##
==========================================
- Coverage   53.74%   53.68%   -0.06%     
==========================================
  Files         433      432       -1     
  Lines       54050    54031      -19     
==========================================
- Hits        29049    29009      -40     
- Misses      22759    22774      +15     
- Partials     2242     2248       +6     
Impacted Files Coverage Δ
logging/log.go 43.20% <ø> (+1.01%) ⬆️
logging/telemetry.go 81.89% <ø> (-0.46%) ⬇️
ledger/roundlru.go 90.56% <0.00%> (-5.67%) ⬇️
ledger/tracker.go 74.26% <0.00%> (-4.65%) ⬇️
ledger/blockqueue.go 85.63% <0.00%> (-2.88%) ⬇️
crypto/merkletrie/trie.go 66.42% <0.00%> (-2.19%) ⬇️
crypto/merkletrie/node.go 91.62% <0.00%> (-1.87%) ⬇️
util/rateLimit.go 82.35% <0.00%> (-0.99%) ⬇️
catchup/service.go 69.32% <0.00%> (-0.49%) ⬇️
network/wsNetwork.go 64.74% <0.00%> (-0.18%) ⬇️
... and 4 more

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

@michaeldiamant michaeldiamant marked this pull request as ready for review December 22, 2022 20:48
brianolson
brianolson previously approved these changes Jan 3, 2023
Copy link
Copy Markdown
Contributor

@brianolson brianolson left a comment

Choose a reason for hiding this comment

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

Yes. There are better ways to do this. If we need it in the future we should build the right thing at that time.

excalq
excalq previously approved these changes Jan 3, 2023
Copy link
Copy Markdown
Contributor

@excalq excalq left a comment

Choose a reason for hiding this comment

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

The best programming language is red lines!
Thanks for doing a bit to clean up the hydra that is our telemetry code.

@michaeldiamant michaeldiamant dismissed stale reviews from excalq and brianolson via 26d9874 January 3, 2023 18:00
@michaeldiamant
Copy link
Copy Markdown
Contributor Author

FYI - Merged in master to address conflict created by #4957.

Copy link
Copy Markdown
Contributor

@brianolson brianolson left a comment

Choose a reason for hiding this comment

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

still good

@michaeldiamant michaeldiamant requested a review from excalq January 3, 2023 22:08
@michaeldiamant michaeldiamant merged commit a483498 into algorand:master Jan 3, 2023
@michaeldiamant michaeldiamant deleted the telemetry_start_operation branch January 3, 2023 22:09
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