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 +4 -4
- data/lib/sentry/hub.rb +5 -1
- data/lib/sentry/span.rb +5 -0
- data/lib/sentry/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8bbd67a379767b17c92face4aece900b5f559ba676e5531ff30cc7c94b770ec
|
4
|
+
data.tar.gz: f347cb6245d5d37f2d883870b26d846244d33ef6cbb67b838fe231d1c17e95f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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 = {
|
data/lib/sentry/version.rb
CHANGED
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.
|
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-
|
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.
|
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.
|
26
|
+
version: 5.22.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: concurrent-ruby
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|