sentry-opentelemetry 5.17.3 → 5.18.1

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: e5e85667683472ae3e0d6c7d20fe69241d0b46c0b41172232e60af711e8de7a5
4
- data.tar.gz: d0a3e401be2bd6c512d1bae8d56ef1ae83d44f6eb8c8fdce4da3f04bebab3c63
3
+ metadata.gz: eb6d62a28ac219b29bb4875e7820945d15ba0871282f3c4730585b9e36247c11
4
+ data.tar.gz: 5ff877623b31977afae80b193b8e9fab98f502cbce6e6f6c993ded8e1f3d047c
5
5
  SHA512:
6
- metadata.gz: f1a51f89a68ceba1abf61ede60681bde11fa616ed6ae1e50b2fbaaff8b817c04a30eaba7f798beef95ffc23ab560a5da7e18084864ec3081e393e1f424d6a2da
7
- data.tar.gz: 33c6e4cdcaae864a6e138927ff2e100e9c991160ac5ff31d197d03a72c3baf42e79bec327ff6683cac330cf1d7054259d76f3816b04e22e8f99ab9b60a6f9fc2
6
+ metadata.gz: '08d8b367946f1c84bd4834a221d9d3991f93e514c6053d9650102f53e14c0197ef4a0fbace2838fabe372e66304eab8559640c3ca2dc04fdf86cd2a5cc8be4f1'
7
+ data.tar.gz: 919c4a800c73a5afde9b2d243a728d7018846b737a05f2b8a546f8750b73b9d41333fa3136caed31570e3a38491cbd5260b7ed2053debc6027c413bbebe154c7
@@ -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)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sentry
4
4
  module OpenTelemetry
5
- VERSION = "5.17.3"
5
+ VERSION = "5.18.1"
6
6
  end
7
7
  end
@@ -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.17.3"
27
+ spec.add_dependency "sentry-ruby", "~> 5.18.1"
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.17.3
4
+ version: 5.18.1
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-04-11 00:00:00.000000000 Z
11
+ date: 2024-07-02 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.17.3
19
+ version: 5.18.1
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.17.3
26
+ version: 5.18.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: opentelemetry-sdk
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  requirements: []
85
- rubygems_version: 3.1.6
85
+ rubygems_version: 3.5.11
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: A gem that provides OpenTelemetry integration for the Sentry error logger