sentry-ruby 5.22.0 → 5.22.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: d55e34db1cd6fb4e23d78e8884c611b78d095ac563f84c06e2e2e507553c560c
4
- data.tar.gz: 9f8b2d74f31fc7a313d4170bdbbc0707b61c52ae658102c6d353a09f84df81e9
3
+ metadata.gz: 7cf4ebc58389dd621be706b53b86c30e689f9f52c5d5cbda72ef01528c540e5a
4
+ data.tar.gz: f347cb6245d5d37f2d883870b26d846244d33ef6cbb67b838fe231d1c17e95f8
5
5
  SHA512:
6
- metadata.gz: 2c2655638c25147fc3ba2c0f398db274736368a6ce4bf957fb74013f8e60c95126dd706b7ae5ce8f5c56774376ead6a4eada548e59261440e70aa4b0ec956c62
7
- data.tar.gz: 7f2d782aa3b58c473c0c06efbcb1e8ff8ff039a5d396d8066187d2ff863008145fb08a7ad97eedc69841b685d09da01a56c67938bb19032d65fab7ddbce05e7f
6
+ metadata.gz: 2dae846cd0a9d3c10d41d44a775bd39e6d175f559924bf101cd2a88816145ea2cf048962504615d5f05acca0b59451483a2b602a9fb87bba3b2be4364493fd27
7
+ data.tar.gz: b17875017e20c0126c8ddc5d360873430c92d69f0633134743198140c2258f828b3b444748c7a4cd8e0bb9137a9990f2dc394182ffcfe6a19d1e0f3795beebcd
data/lib/sentry/hub.rb CHANGED
@@ -255,7 +255,11 @@ module Sentry
255
255
 
256
256
  return unless session
257
257
  session.close
258
- Sentry.session_flusher.add_session(session)
258
+
259
+ # NOTE: Under some circumstances, session_flusher nilified out of sync
260
+ # See: https://github.com/getsentry/sentry-ruby/issues/2378
261
+ # See: https://github.com/getsentry/sentry-ruby/pull/2396
262
+ Sentry.session_flusher&.add_session(session)
259
263
  end
260
264
 
261
265
  def with_session_tracking(&block)
data/lib/sentry/span.rb CHANGED
@@ -44,6 +44,11 @@ module Sentry
44
44
  LINENO = "code.lineno"
45
45
  FUNCTION = "code.function"
46
46
  NAMESPACE = "code.namespace"
47
+
48
+ MESSAGING_MESSAGE_ID = "messaging.message.id"
49
+ MESSAGING_DESTINATION_NAME = "messaging.destination.name"
50
+ MESSAGING_MESSAGE_RECEIVE_LATENCY = "messaging.message.receive.latency"
51
+ MESSAGING_MESSAGE_RETRY_COUNT = "messaging.message.retry.count"
47
52
  end
48
53
 
49
54
  STATUS_MAP = {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sentry
4
- VERSION = "5.22.0"
4
+ VERSION = "5.22.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sentry-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.22.0
4
+ version: 5.22.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sentry Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-04 00:00:00.000000000 Z
11
+ date: 2024-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -151,15 +151,15 @@ files:
151
151
  - lib/sentry/version.rb
152
152
  - sentry-ruby-core.gemspec
153
153
  - sentry-ruby.gemspec
154
- homepage: https://github.com/getsentry/sentry-ruby/tree/5.22.0/sentry-ruby
154
+ homepage: https://github.com/getsentry/sentry-ruby/tree/5.22.1/sentry-ruby
155
155
  licenses:
156
156
  - MIT
157
157
  metadata:
158
- homepage_uri: https://github.com/getsentry/sentry-ruby/tree/5.22.0/sentry-ruby
159
- source_code_uri: https://github.com/getsentry/sentry-ruby/tree/5.22.0/sentry-ruby
160
- changelog_uri: https://github.com/getsentry/sentry-ruby/blob/5.22.0/CHANGELOG.md
158
+ homepage_uri: https://github.com/getsentry/sentry-ruby/tree/5.22.1/sentry-ruby
159
+ source_code_uri: https://github.com/getsentry/sentry-ruby/tree/5.22.1/sentry-ruby
160
+ changelog_uri: https://github.com/getsentry/sentry-ruby/blob/5.22.1/CHANGELOG.md
161
161
  bug_tracker_uri: https://github.com/getsentry/sentry-ruby/issues
162
- documentation_uri: http://www.rubydoc.info/gems/sentry-ruby/5.22.0
162
+ documentation_uri: http://www.rubydoc.info/gems/sentry-ruby/5.22.1
163
163
  post_install_message:
164
164
  rdoc_options: []
165
165
  require_paths: