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

feat(tracer): Add shutdown hook for tracer #1524

Merged
merged 5 commits into from
May 10, 2024

Conversation

dougEfresh
Copy link
Contributor

@dougEfresh dougEfresh commented Dec 21, 2022

See #935
Tracer is not shutdown gracefully and thus traces are lost.
I have added tracer to the FX lifecycle and created a WithTracing function in nodebuilder/settings.go

@codecov-commenter
Copy link

codecov-commenter commented Dec 21, 2022

Codecov Report

Attention: Patch coverage is 0% with 13 lines in your changes are missing coverage. Please review.

Project coverage is 44.73%. Comparing base (2469e7a) to head (de86ea1).
Report is 62 commits behind head on main.

Files Patch % Lines
nodebuilder/settings.go 0.00% 13 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1524      +/-   ##
==========================================
- Coverage   44.83%   44.73%   -0.11%     
==========================================
  Files         265      272       +7     
  Lines       14620    15238     +618     
==========================================
+ Hits         6555     6816     +261     
- Misses       7313     7628     +315     
- Partials      752      794      +42     

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

cmd/celestia/main.go Outdated Show resolved Hide resolved
@Wondertan
Copy link
Member

Needs rebase

@renaynay
Copy link
Member

@dougEfresh do you want to rebase this or should we take over the PR?

@dougEfresh
Copy link
Contributor Author

@dougEfresh do you want to rebase this or should we take over the PR?

Will rebase soon

@ramin ramin self-assigned this Sep 5, 2023
@ramin
Copy link
Contributor

ramin commented Sep 19, 2023

hey @dougEfresh do you want to bring this one home? I can take over if not

@ramin ramin added the area:metrics Related to measuring/collecting node metrics label Sep 22, 2023
cmd/start.go Outdated Show resolved Hide resolved
cmd/start.go Outdated Show resolved Hide resolved
@renaynay renaynay requested a review from Wondertan May 9, 2024 14:43
@walldiss walldiss enabled auto-merge (squash) May 10, 2024 15:17
@walldiss walldiss merged commit 0c01987 into celestiaorg:main May 10, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:metrics Related to measuring/collecting node metrics kind:chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants