sentry-ruby icon indicating copy to clipboard operation
sentry-ruby copied to clipboard

Baggage creation for head SDK

Open sl0thentr0py opened this issue 3 years ago • 1 comments

Creates new Baggage entries when the ruby SDK is the head SDK, i.e the first SDK that originates a distributed trace. The new Baggage entry is created when get_baggage is first called, either

  • when the first outgoing HTTP request is made
  • the first transaction finishes and the envelope is sent to sentry

closes #1836

sl0thentr0py avatar Sep 15 '22 13:09 sl0thentr0py

Codecov Report

Base: 96.67% // Head: 96.72% // Increases project coverage by +0.05% :tada:

Coverage data is based on head (a605ce7) compared to base (8b8af16). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@                        Coverage Diff                        @@
##           neel/baggage-dsc-continuation    #1898      +/-   ##
=================================================================
+ Coverage                          96.67%   96.72%   +0.05%     
=================================================================
  Files                                124      124              
  Lines                               7808     7903      +95     
=================================================================
+ Hits                                7548     7644      +96     
+ Misses                               260      259       -1     
Impacted Files Coverage Δ
sentry-ruby/lib/sentry/baggage.rb 100.00% <100.00%> (ø)
sentry-ruby/lib/sentry/span.rb 100.00% <100.00%> (ø)
sentry-ruby/lib/sentry/transaction.rb 100.00% <100.00%> (ø)
sentry-ruby/lib/sentry/transaction_event.rb 100.00% <100.00%> (ø)
sentry-ruby/spec/sentry/client_spec.rb 97.25% <100.00%> (+0.01%) :arrow_up:
sentry-ruby/spec/sentry/net/http_spec.rb 100.00% <100.00%> (ø)
sentry-ruby/spec/sentry/transaction_spec.rb 100.00% <100.00%> (ø)
sentry-ruby/spec/sentry/transport_spec.rb 100.00% <100.00%> (ø)
sentry-ruby/lib/sentry/breadcrumb.rb 100.00% <0.00%> (+3.70%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov-commenter avatar Sep 15 '22 14:09 codecov-commenter