sentry-opentelemetry 5.17.3 → 5.18.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b1d7532c398b6d873e743d83de520de340a2267586f938ed36d3a876fee0a01
|
4
|
+
data.tar.gz: 86f977a47b543023a4554dce144b5afb05d6d8c0cd61fcb8c5e09b6af38f9c3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0c8aa18cfb4ea142f06aa4353045c3d941a307c74065faa8f4f44d6791ba09719405c825156bcefa2dfdd2749842298c089a7ed8a5648267777fd8c9bab6535
|
7
|
+
data.tar.gz: d941e0483cc019be5b3fad5825b1eb872256850ad5645ad8e448056bea157b0475b101b482daa448149e6fc54fd94f39647f06c13fde8b7e79d1c7554617adaf
|
@@ -11,6 +11,7 @@ module Sentry
|
|
11
11
|
|
12
12
|
SEMANTIC_CONVENTIONS = ::OpenTelemetry::SemanticConventions::Trace
|
13
13
|
INTERNAL_SPAN_KINDS = %i[client internal]
|
14
|
+
SPAN_ORIGIN = "auto.otel"
|
14
15
|
|
15
16
|
# The mapping from otel span ids to sentry spans
|
16
17
|
# @return [Hash]
|
@@ -34,7 +35,8 @@ module Sentry
|
|
34
35
|
sentry_parent_span.start_child(
|
35
36
|
span_id: trace_data.span_id,
|
36
37
|
description: otel_span.name,
|
37
|
-
start_timestamp: otel_span.start_timestamp / 1e9
|
38
|
+
start_timestamp: otel_span.start_timestamp / 1e9,
|
39
|
+
origin: SPAN_ORIGIN
|
38
40
|
)
|
39
41
|
else
|
40
42
|
options = {
|
@@ -45,7 +47,8 @@ module Sentry
|
|
45
47
|
parent_span_id: trace_data.parent_span_id,
|
46
48
|
parent_sampled: trace_data.parent_sampled,
|
47
49
|
baggage: trace_data.baggage,
|
48
|
-
start_timestamp: otel_span.start_timestamp / 1e9
|
50
|
+
start_timestamp: otel_span.start_timestamp / 1e9,
|
51
|
+
origin: SPAN_ORIGIN
|
49
52
|
}
|
50
53
|
|
51
54
|
Sentry.start_transaction(**options)
|
@@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
25
|
spec.require_paths = ["lib"]
|
26
26
|
|
27
|
-
spec.add_dependency "sentry-ruby", "~> 5.
|
27
|
+
spec.add_dependency "sentry-ruby", "~> 5.18.0"
|
28
28
|
spec.add_dependency "opentelemetry-sdk", "~> 1.0"
|
29
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sentry-opentelemetry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sentry Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sentry-ruby
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 5.
|
19
|
+
version: 5.18.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 5.
|
26
|
+
version: 5.18.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: opentelemetry-sdk
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|