Bump sentry-ruby and sentry-rails
Bumps [sentry-ruby](https://github.com/getsentry/sentry-ruby) and [sentry-rails](https://github.com/getsentry/sentry-ruby). These dependencies needed to be updated together. Updates `sentry-ruby` from 5.10.0 to 5.11.0 - [Release notes](https://github.com/getsentry/sentry-ruby/releases) - [Changelog](https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-ruby/compare/5.10.0...5.11.0) Updates `sentry-rails` from 5.10.0 to 5.11.0 - [Release notes](https://github.com/getsentry/sentry-ruby/releases) - [Changelog](https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-ruby/compare/5.10.0...5.11.0) --- updated-dependencies: - dependency-name: sentry-ruby dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: sentry-rails dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
![49699333+dependabot[bot]@users.noreply.github.com](/assets/img/avatar_default.png)
committed by
Sebastian Serth

parent
8584437d0e
commit
aaf1162cf8
@ -265,17 +265,8 @@ class Runner::Connection
|
||||
def sentry_trace_header(sentry_span)
|
||||
return {} unless sentry_span
|
||||
|
||||
http_headers = {}
|
||||
client = Sentry.get_current_client
|
||||
|
||||
trace = client.generate_sentry_trace(sentry_span)
|
||||
http_headers[Sentry::SENTRY_TRACE_HEADER_NAME] = trace if trace
|
||||
|
||||
baggage = client.generate_baggage(sentry_span)
|
||||
http_headers[Sentry::BAGGAGE_HEADER_NAME] = baggage if baggage.present?
|
||||
|
||||
{
|
||||
headers: http_headers,
|
||||
headers: Sentry.get_trace_propagation_headers,
|
||||
}
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user