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(tracing without performance): add propagation context to scope #745

Conversation

greywolve
Copy link
Contributor

This is the start of a series of PRs for implementing tracing without performance.

This initial PR adds a PropagationContext field to the scope.

Copy link

codecov bot commented Nov 8, 2023

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (032ecc1) 80.77% compared to head (77dfb21) 80.92%.

Files Patch % Lines
propagation_context.go 83.63% 5 Missing and 4 partials ⚠️
Additional details and impacted files
@@                         Coverage Diff                          @@
##           feat_tracing_without_performance     #745      +/-   ##
====================================================================
+ Coverage                             80.77%   80.92%   +0.15%     
====================================================================
  Files                                    47       49       +2     
  Lines                                  4701     4771      +70     
====================================================================
+ Hits                                   3797     3861      +64     
- Misses                                  765      768       +3     
- Partials                                139      142       +3     

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

DynamicSamplingContext DynamicSamplingContext `json:"-"`
}

func (p PropagationContext) MarshalJSON() ([]byte, error) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure if this is really needed, just added for completeness sake.

@greywolve greywolve force-pushed the tracing_without_performance_propagation_context branch from 7c381e7 to 5045587 Compare November 17, 2023 15:36
Copy link
Member

@cleptric cleptric left a comment

Choose a reason for hiding this comment

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

Looks like you need to rebase the latest changes from master.
Besides that, lgtm!

@greywolve greywolve force-pushed the tracing_without_performance_propagation_context branch from f7ca999 to 77dfb21 Compare November 23, 2023 17:22
@greywolve greywolve merged commit 7182582 into getsentry:feat_tracing_without_performance Nov 23, 2023
15 checks passed
@greywolve greywolve deleted the tracing_without_performance_propagation_context branch November 23, 2023 17:26
greywolve added a commit that referenced this pull request Nov 30, 2023
…745)

* feat(tracing without performance): add propagation context to scope

* remove redundant dynamic context assignment

* more tests
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.

2 participants