traces-backend-datadog 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0a183caf86af771c4aa92753557357acd0f1ea77b3a0212f06302c405fb4c31
4
- data.tar.gz: 580c70c389d8fe0b058b52fb0654a7f395fa430ad714a0509c35756df08f7f9c
3
+ metadata.gz: 0fad85a5252e40bc384ac7f1bddf51e25d22a582cda6c22f930815949acdeb3d
4
+ data.tar.gz: 9b702dec052f2ebaa9353599917fc44c381437589b7920e3206de04c07b6c2cd
5
5
  SHA512:
6
- metadata.gz: e7ff71c75078a63907b3b23f67ebbe0daa724d65006b694ecfff9ccb0b566c3313579fdf2c1b7c01df2e3c8943b75a3f5a96ac03ea67ef38962f65190cd8b721
7
- data.tar.gz: 5bc284e6fad54df93cf8d83cc34388cc071f0f8d963bd555dd512c31873fa30221e0956a88c265a8e9bca0dea3eaa29a913405db8c67a272be1218147554fa13
6
+ metadata.gz: c61fa3e5f4e725411ba8126a0fd7657ef083922df2d96b700565498929994037c3771cb4916553ac9685c3804c5fde99ad8513c6873be5146502731c8bb01749
7
+ data.tar.gz: 256d552b32219ea2eb5634a0967f70f9ef097093ec420feee745bc9749306650af2023f9c4a1f31d5f2adb9f85fc3db89f910f48240c7db5d4a52abb119199ea
checksums.yaml.gz.sig CHANGED
Binary file
@@ -44,8 +44,9 @@ module Traces
44
44
  def trace_context=(context)
45
45
  if context
46
46
  ::Datadog.tracer.provider.context = ::Datadog::Context.new(
47
- trace_id: context.trace_id,
48
- span_id: context.parent_id,
47
+ # We force these to be integers otherwise Datadog can fail internally:
48
+ trace_id: context.trace_id.to_i,
49
+ span_id: context.parent_id.to_i,
49
50
  sampled: context.sampled?,
50
51
  )
51
52
  end
@@ -23,7 +23,7 @@
23
23
  module Traces
24
24
  module Backend
25
25
  module Datadog
26
- VERSION = "0.2.2"
26
+ VERSION = "0.3.0"
27
27
  end
28
28
  end
29
29
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: traces-backend-datadog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -36,7 +36,7 @@ cert_chain:
36
36
  RAOsIl+HOBTb252nx1kIRN5hqQx272AJCbCjKx8egcUQKffFVVCI0nye09v5CK+a
37
37
  HiLJ8VOFx6w=
38
38
  -----END CERTIFICATE-----
39
- date: 2022-02-03 00:00:00.000000000 Z
39
+ date: 2022-02-05 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: traces
metadata.gz.sig CHANGED
Binary file