traces-backend-datadog 0.1.2 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/traces/backend/datadog/interface.rb +3 -3
- data/lib/traces/backend/datadog/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +5 -5
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0a183caf86af771c4aa92753557357acd0f1ea77b3a0212f06302c405fb4c31
|
4
|
+
data.tar.gz: 580c70c389d8fe0b058b52fb0654a7f395fa430ad714a0509c35756df08f7f9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7ff71c75078a63907b3b23f67ebbe0daa724d65006b694ecfff9ccb0b566c3313579fdf2c1b7c01df2e3c8943b75a3f5a96ac03ea67ef38962f65190cd8b721
|
7
|
+
data.tar.gz: 5bc284e6fad54df93cf8d83cc34388cc071f0f8d963bd555dd512c31873fa30221e0956a88c265a8e9bca0dea3eaa29a913405db8c67a272be1218147554fa13
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -37,15 +37,15 @@ module Traces
|
|
37
37
|
::Datadog::Span.prepend(SpanInterface)
|
38
38
|
|
39
39
|
module Interface
|
40
|
-
def trace(name, attributes: {}, &block)
|
41
|
-
::Datadog.tracer.trace(name, tags: attributes, &block)
|
40
|
+
def trace(name, attributes: {}, resource: nil, &block)
|
41
|
+
::Datadog.tracer.trace(name, tags: attributes, resource: resource, &block)
|
42
42
|
end
|
43
43
|
|
44
44
|
def trace_context=(context)
|
45
45
|
if context
|
46
46
|
::Datadog.tracer.provider.context = ::Datadog::Context.new(
|
47
47
|
trace_id: context.trace_id,
|
48
|
-
span_id: context.
|
48
|
+
span_id: context.parent_id,
|
49
49
|
sampled: context.sampled?,
|
50
50
|
)
|
51
51
|
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.
|
4
|
+
version: 0.2.2
|
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:
|
39
|
+
date: 2022-02-03 00:00:00.000000000 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: traces
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.5.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.5.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: ddtrace
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -111,5 +111,5 @@ requirements: []
|
|
111
111
|
rubygems_version: 3.1.6
|
112
112
|
signing_key:
|
113
113
|
specification_version: 4
|
114
|
-
summary: A traces backend for
|
114
|
+
summary: A traces backend for Datadog.
|
115
115
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|