ddtrace 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/lib/datadog/opentracer/tracer.rb +4 -6
- data/lib/ddtrace/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e708799bd5320bcc45e0cd79d9893ef278ea1b30205058cae88ed9409371bd56
|
4
|
+
data.tar.gz: c34df6aaebb0a8a16b68a6ccd12397b101fe5e74f450b599d9a94bb01cc272b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f33d2ddfb796efa2dfda6b5b02dab623e8fcfbcf263cb820a0e78d291f49dc06e587e535c7a8afe40e26c830b2b0dac7539c4302ed76aa24579560fa687ea154
|
7
|
+
data.tar.gz: 7cc6918e72984329af2f5a002a131d8ef965a276b9dc4ca74e1e6bda595f8c106f535c98bc69626e4394ba0f5c6a4e5103606e9946453bbe3ef8eb5d12922e0a
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
## [Unreleased]
|
4
4
|
|
5
|
+
## [1.4.2] - 2022-09-27
|
6
|
+
|
7
|
+
### Fixed
|
8
|
+
|
9
|
+
OpenTracing context propagation (#2191, #2289)
|
10
|
+
|
5
11
|
## [1.4.1] - 2022-09-15
|
6
12
|
|
7
13
|
### Fixed
|
@@ -2097,7 +2103,8 @@ Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.3.1
|
|
2097
2103
|
|
2098
2104
|
Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
|
2099
2105
|
|
2100
|
-
[Unreleased]: https://github.com/DataDog/dd-trace-rb/compare/v1.4.
|
2106
|
+
[Unreleased]: https://github.com/DataDog/dd-trace-rb/compare/v1.4.2...master
|
2107
|
+
[1.4.1]: https://github.com/DataDog/dd-trace-rb/compare/v1.4.1...v1.4.2
|
2101
2108
|
[1.4.1]: https://github.com/DataDog/dd-trace-rb/compare/v1.4.0...v1.4.1
|
2102
2109
|
[1.4.0]: https://github.com/DataDog/dd-trace-rb/compare/v1.3.0...v1.4.0
|
2103
2110
|
[1.3.0]: https://github.com/DataDog/dd-trace-rb/compare/v1.2.0...v1.3.0
|
@@ -151,12 +151,10 @@ module Datadog
|
|
151
151
|
tags: tags || {}
|
152
152
|
)
|
153
153
|
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
SpanContextFactory.build(datadog_context: datadog_context)
|
159
|
-
end
|
154
|
+
span_context = SpanContextFactory.build(
|
155
|
+
datadog_context: datadog_context || datadog_tracer.send(:call_context),
|
156
|
+
baggage: parent_span_context ? parent_span_context.baggage.dup : {}
|
157
|
+
)
|
160
158
|
|
161
159
|
# Wrap the Datadog span and OpenTracer::Span context in a OpenTracer::Span
|
162
160
|
Span.new(datadog_span: datadog_span, span_context: span_context)
|
data/lib/ddtrace/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ddtrace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Datadog, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|
@@ -778,7 +778,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
778
778
|
- !ruby/object:Gem::Version
|
779
779
|
version: 2.0.0
|
780
780
|
requirements: []
|
781
|
-
rubygems_version: 3.
|
781
|
+
rubygems_version: 3.2.15
|
782
782
|
signing_key:
|
783
783
|
specification_version: 4
|
784
784
|
summary: Datadog tracing code for your Ruby applications
|