opentelemetry-instrumentation-active_record 0.7.0 → 0.7.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: 5b8dca0decfc1ef4776e5bd5a279153ceb9ec925f6a608921f5bf4f450b08b85
4
- data.tar.gz: 52cc62d5fce5588af3292c71e9786002be84d0900064f8e2b3b8bd7d210cc64e
3
+ metadata.gz: 6091768204184e345569306358c59cea08224cbdafad0a1ab1084bf8c597b45b
4
+ data.tar.gz: 638474cab146ffa6171aac6c129068c2f12a3fa6697b658a7f39e121d05b12ca
5
5
  SHA512:
6
- metadata.gz: 63c127411237a98472aa82d07c7d70155fa2773216b3efb1257aa7b7ddc45b31eca0f3840a1de12905d9bd7dd3a6f57c8020846c70efe00336adde964c22f781
7
- data.tar.gz: fd25f7c110295345bff3d82d877000e4bc75c0a440b50f8ac04dad656ce167673850bc750777ade9c515fb5130f2c90b83c88908318a3407c69d4d9c0868439a
6
+ metadata.gz: 62b2369e1d2e6617a7627ccfda86c73b73eeabdae9d686b399abb774f5e81cf21c75623a83ee0ea1ff460bd0f08d72e57ccb99e0d8bddabccca4babe4af5cb22
7
+ data.tar.gz: bcb852930517b182712fdb1d3498f79c7b5347950c4793bca52d16e74d5bb24dad453ac002a1fe5d2886ba1b93aab9279b1692038fcb679eac1508b6c0441eff
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-active_record
2
2
 
3
+ ### v0.7.1 / 2024-04-05
4
+
5
+ * FIXED: Instrumentation/active_record: add `:allow_retry` option to `find_by_sql` patch
6
+
3
7
  ### v0.7.0 / 2023-11-22
4
8
 
5
9
  * BREAKING CHANGE: Drop Rails 6.0 EOL
@@ -51,9 +51,6 @@ module OpenTelemetry
51
51
  end
52
52
 
53
53
  def require_dependencies
54
- # Our patches depend on Ruby 2 Keyword Syntax compatability since it is decorating the existing AR API
55
- # Once we migrate to ActiveSupport Notifications based instrumentation we can remove this require statement.
56
- require 'ruby2_keywords' # rubocop:disable Lint/RedundantRequireStatement
57
54
  require_relative 'patches/querying'
58
55
  require_relative 'patches/persistence'
59
56
  require_relative 'patches/persistence_class_methods'
@@ -18,7 +18,7 @@ module OpenTelemetry
18
18
 
19
19
  # Contains ActiveRecord::Querying to be patched
20
20
  module ClassMethods
21
- def find_by_sql(sql, binds = [], preparable: nil, &block)
21
+ def find_by_sql(...)
22
22
  tracer.in_span("#{self}.find_by_sql") do
23
23
  super
24
24
  end
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module ActiveRecord
10
- VERSION = '0.7.0'
10
+ VERSION = '0.7.1'
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-active_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-22 00:00:00.000000000 Z
11
+ date: 2024-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.22.1
41
- - !ruby/object:Gem::Dependency
42
- name: ruby2_keywords
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: activerecord
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +142,28 @@ dependencies:
156
142
  requirements:
157
143
  - - "~>"
158
144
  - !ruby/object:Gem::Version
159
- version: 1.56.1
145
+ version: '1.62'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '1.62'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rubocop-performance
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '1.20'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 1.56.1
166
+ version: '1.20'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: simplecov
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -233,10 +233,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
233
233
  licenses:
234
234
  - Apache-2.0
235
235
  metadata:
236
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.7.0/file/CHANGELOG.md
236
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.7.1/file/CHANGELOG.md
237
237
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/active_record
238
238
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
239
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.7.0
239
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.7.1
240
240
  post_install_message:
241
241
  rdoc_options: []
242
242
  require_paths: