opentelemetry-instrumentation-active_record 0.7.4 → 0.8.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fd479327905aa64ad62d66e886697f9389430772564b740f3d10a4d47d8852a
|
4
|
+
data.tar.gz: 273515e1394aa13264c51d3c27fdf3f29a1b8e2767102642adfe2dae0237f91e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d888e331bbe89002d5fb6cc422349935f21fb7d52ad768dd90c0882d3fe3840f033311297114e6ede1686d5a95006347be13edadb24566dd0b56bfa871684b5e
|
7
|
+
data.tar.gz: 73d88c1fde3b8c42e55465bf798bbd495ff0baf227dc652cc4a5b7fd5d4f58cec9d1aaa91af8482a7707e3840578770d181cc2a6e8f785ed06505e5f431bea5a
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,17 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-active_record
|
2
2
|
|
3
|
+
### v0.8.1 / 2024-11-21
|
4
|
+
|
5
|
+
* FIXED: Pass block argument in ActiveRecord `find_by_sql` patch.
|
6
|
+
|
7
|
+
### v0.8.0 / 2024-10-22
|
8
|
+
|
9
|
+
* BREAKING CHANGE: Rename Active Record find_by_sql spans to query
|
10
|
+
* FIXED: Emit Active Record query spans for Rails 7.0+
|
11
|
+
|
3
12
|
### v0.7.4 / 2024-08-19
|
4
13
|
|
5
|
-
* FIXED: Use ActiveSupport from top-level namespace (NoMethodError on_load)
|
14
|
+
* FIXED: Use ActiveSupport from top-level namespace (NoMethodError on_load)
|
6
15
|
|
7
16
|
### v0.7.3 / 2024-08-15
|
8
17
|
|
@@ -32,38 +41,38 @@
|
|
32
41
|
|
33
42
|
### v0.6.1 / 2023-06-05
|
34
43
|
|
35
|
-
* FIXED: Base config options
|
44
|
+
* FIXED: Base config options
|
36
45
|
|
37
46
|
### v0.6.0 / 2023-04-17
|
38
47
|
|
39
|
-
* BREAKING CHANGE: Drop support for EoL Ruby 2.7
|
48
|
+
* BREAKING CHANGE: Drop support for EoL Ruby 2.7
|
40
49
|
|
41
|
-
* ADDED: Drop support for EoL Ruby 2.7
|
50
|
+
* ADDED: Drop support for EoL Ruby 2.7
|
42
51
|
|
43
52
|
### v0.5.0 / 2023-02-01
|
44
53
|
|
45
|
-
* BREAKING CHANGE: Drop Rails 5 Support
|
54
|
+
* BREAKING CHANGE: Drop Rails 5 Support
|
46
55
|
|
47
|
-
* ADDED: Drop Rails 5 Support
|
56
|
+
* ADDED: Drop Rails 5 Support
|
48
57
|
|
49
58
|
### v0.4.1 / 2023-01-14
|
50
59
|
|
51
|
-
* DOCS: Fix gem homepage
|
52
|
-
* DOCS: More gem documentation fixes
|
60
|
+
* DOCS: Fix gem homepage
|
61
|
+
* DOCS: More gem documentation fixes
|
53
62
|
|
54
63
|
### v0.4.0 / 2022-06-09
|
55
64
|
|
56
65
|
* Upgrading Base dependency version
|
57
|
-
* FIXED: Broken test file requirements
|
66
|
+
* FIXED: Broken test file requirements
|
58
67
|
|
59
68
|
### v0.3.0 / 2022-05-02
|
60
69
|
|
61
|
-
* ADDED: Make ActiveRecord 7 compatible
|
62
|
-
* FIXED: RubyGems Fallback
|
70
|
+
* ADDED: Make ActiveRecord 7 compatible
|
71
|
+
* FIXED: RubyGems Fallback
|
63
72
|
|
64
73
|
### v0.2.2 / 2021-12-01
|
65
74
|
|
66
|
-
* FIXED: Add max supported version for active record
|
75
|
+
* FIXED: Add max supported version for active record
|
67
76
|
|
68
77
|
### v0.2.1 / 2021-09-29
|
69
78
|
|
@@ -71,8 +80,8 @@
|
|
71
80
|
|
72
81
|
### v0.2.0 / 2021-09-29
|
73
82
|
|
74
|
-
* ADDED: Trace update_all and delete_all calls in ActiveRecord
|
75
|
-
* FIXED: Remove Active Record instantiation patch
|
83
|
+
* ADDED: Trace update_all and delete_all calls in ActiveRecord
|
84
|
+
* FIXED: Remove Active Record instantiation patch
|
76
85
|
|
77
86
|
### v0.1.1 / 2021-08-12
|
78
87
|
|
@@ -18,9 +18,11 @@ module OpenTelemetry
|
|
18
18
|
|
19
19
|
# Contains ActiveRecord::Querying to be patched
|
20
20
|
module ClassMethods
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
method_name = ::ActiveRecord.version >= Gem::Version.new('7.0.0') ? :_query_by_sql : :find_by_sql
|
22
|
+
|
23
|
+
define_method(method_name) do |*args, **kwargs, &block|
|
24
|
+
tracer.in_span("#{self} query") do
|
25
|
+
super(*args, **kwargs, &block)
|
24
26
|
end
|
25
27
|
end
|
26
28
|
|
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.
|
4
|
+
version: 0.8.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: 2024-
|
11
|
+
date: 2024-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -142,28 +142,28 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.
|
145
|
+
version: 1.68.0
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.
|
152
|
+
version: 1.68.0
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: rubocop-performance
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
159
|
+
version: 1.22.0
|
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:
|
166
|
+
version: 1.22.0
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: simplecov
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,14 +184,14 @@ dependencies:
|
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
187
|
+
version: 3.24.0
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
194
|
+
version: 3.24.0
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: yard
|
197
197
|
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.
|
236
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.8.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.
|
239
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.8.1
|
240
240
|
post_install_message:
|
241
241
|
rdoc_options: []
|
242
242
|
require_paths:
|