sentry-ruby-core 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: d6ea6ea7aa1656256faf78dd295dddffdea94bac58ff263f49d3a67433a35fd6
4
- data.tar.gz: 9f8b2d74f31fc7a313d4170bdbbc0707b61c52ae658102c6d353a09f84df81e9
3
+ metadata.gz: f8bbd67a379767b17c92face4aece900b5f559ba676e5531ff30cc7c94b770ec
4
+ data.tar.gz: f347cb6245d5d37f2d883870b26d846244d33ef6cbb67b838fe231d1c17e95f8
5
5
  SHA512:
6
- metadata.gz: 312560c682b07cee10690c180e7e2780daf616574dfcb792bebf1315feeb9a47ad428dbb7c7627439e781b8db85c9bc9166feb77dfa14974373df12982ae6324
7
- data.tar.gz: 7f2d782aa3b58c473c0c06efbcb1e8ff8ff039a5d396d8066187d2ff863008145fb08a7ad97eedc69841b685d09da01a56c67938bb19032d65fab7ddbce05e7f
6
+ metadata.gz: 6b4d0189ef85dc508e12fe28642037e38f87dae95039586b4f6369e4ba45526601a5b9e9e9bfe79dc0ec20deb14a1b6f6b7f4cd04b07b379ca654d6f1ba24b14
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-core
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: sentry-ruby
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 5.22.0
19
+ version: 5.22.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.22.0
26
+ version: 5.22.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: concurrent-ruby
29
29
  requirement: !ruby/object:Gem::Requirement