sentry-ruby 6.4.0 → 6.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/sentry/rack/capture_exceptions.rb +7 -5
- data/lib/sentry/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 98ee25c5aaeb49754f4d101eff2633c74f00b3b01236e7c012c1b7bb5898e276
|
|
4
|
+
data.tar.gz: a463f19fe5fe50719398470b2926509ebd5708cb7702948207d164846c873a29
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0d108cff7d2da68566f330f02706c31bf70ca22291e5dd8575dfb1fcc76b073e14a22d2f18a814346ca38bc51cb1868ac328989de5d7b7c8bf1eab5d3a5d85b0
|
|
7
|
+
data.tar.gz: 9e6975759fb9a06307ab201f7377822f5fa4d4f407eacb656371f083cce2ff65ba98c0b4cc418f81e608d0e8e78449ee9c53e3c26e6706a3b8b4bfe8e77c37d2
|
|
@@ -73,13 +73,15 @@ module Sentry
|
|
|
73
73
|
|
|
74
74
|
transaction = Sentry.continue_trace(env, **options)
|
|
75
75
|
transaction = Sentry.start_transaction(transaction: transaction, custom_sampling_context: { env: env }, **options)
|
|
76
|
+
attach_queue_time(transaction, env)
|
|
77
|
+
transaction
|
|
78
|
+
end
|
|
76
79
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
end
|
|
80
|
+
def attach_queue_time(transaction, env)
|
|
81
|
+
return unless transaction
|
|
82
|
+
return unless (queue_time = extract_queue_time(env))
|
|
81
83
|
|
|
82
|
-
transaction
|
|
84
|
+
transaction.set_data(Span::DataConventions::HTTP_QUEUE_TIME_MS, queue_time)
|
|
83
85
|
end
|
|
84
86
|
|
|
85
87
|
|
data/lib/sentry/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sentry-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.4.
|
|
4
|
+
version: 6.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sentry Team
|
|
@@ -169,15 +169,15 @@ files:
|
|
|
169
169
|
- lib/sentry/version.rb
|
|
170
170
|
- sentry-ruby-core.gemspec
|
|
171
171
|
- sentry-ruby.gemspec
|
|
172
|
-
homepage: https://github.com/getsentry/sentry-ruby/tree/6.4.
|
|
172
|
+
homepage: https://github.com/getsentry/sentry-ruby/tree/6.4.1/sentry-ruby
|
|
173
173
|
licenses:
|
|
174
174
|
- MIT
|
|
175
175
|
metadata:
|
|
176
|
-
homepage_uri: https://github.com/getsentry/sentry-ruby/tree/6.4.
|
|
177
|
-
source_code_uri: https://github.com/getsentry/sentry-ruby/tree/6.4.
|
|
178
|
-
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/6.4.
|
|
176
|
+
homepage_uri: https://github.com/getsentry/sentry-ruby/tree/6.4.1/sentry-ruby
|
|
177
|
+
source_code_uri: https://github.com/getsentry/sentry-ruby/tree/6.4.1/sentry-ruby
|
|
178
|
+
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/6.4.1/CHANGELOG.md
|
|
179
179
|
bug_tracker_uri: https://github.com/getsentry/sentry-ruby/issues
|
|
180
|
-
documentation_uri: http://www.rubydoc.info/gems/sentry-ruby/6.4.
|
|
180
|
+
documentation_uri: http://www.rubydoc.info/gems/sentry-ruby/6.4.1
|
|
181
181
|
rdoc_options: []
|
|
182
182
|
require_paths:
|
|
183
183
|
- lib
|