opentelemetry-instrumentation-active_record 0.7.4 → 0.8.0
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: 22ba7ba7bbac7675f61b490c737efe0cf694f9ae6445f4ec4489ebbea9fe3be2
|
4
|
+
data.tar.gz: 234893fc8668f3f5391c17b0061d8a6a007c6b47a10e86e03e56735a7c4bed27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85884d150ef6c96c1b831408d83c024db89f2682531f573f64deef4c17e1f5c79ee52d5a3f717d79434f53abcadcc61779e1aa00b2e28f1afa826f731be7c527
|
7
|
+
data.tar.gz: 5c726a1fa9525a5c950b0ac50918f99acd4c2ab55b7289f5abd8af91127f237e07e1183bbf6f623e557d8710a721c44a300f0a248c49a99621ada36bd4ef7486
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-active_record
|
2
2
|
|
3
|
+
### v0.8.0 / 2024-10-22
|
4
|
+
|
5
|
+
* BREAKING CHANGE: Rename Active Record find_by_sql spans to query
|
6
|
+
* FIXED: Emit Active Record query spans for Rails 7.0+
|
7
|
+
|
3
8
|
### v0.7.4 / 2024-08-19
|
4
9
|
|
5
|
-
* FIXED: Use ActiveSupport from top-level namespace (NoMethodError on_load)
|
10
|
+
* FIXED: Use ActiveSupport from top-level namespace (NoMethodError on_load)
|
6
11
|
|
7
12
|
### v0.7.3 / 2024-08-15
|
8
13
|
|
@@ -32,38 +37,38 @@
|
|
32
37
|
|
33
38
|
### v0.6.1 / 2023-06-05
|
34
39
|
|
35
|
-
* FIXED: Base config options
|
40
|
+
* FIXED: Base config options
|
36
41
|
|
37
42
|
### v0.6.0 / 2023-04-17
|
38
43
|
|
39
|
-
* BREAKING CHANGE: Drop support for EoL Ruby 2.7
|
44
|
+
* BREAKING CHANGE: Drop support for EoL Ruby 2.7
|
40
45
|
|
41
|
-
* ADDED: Drop support for EoL Ruby 2.7
|
46
|
+
* ADDED: Drop support for EoL Ruby 2.7
|
42
47
|
|
43
48
|
### v0.5.0 / 2023-02-01
|
44
49
|
|
45
|
-
* BREAKING CHANGE: Drop Rails 5 Support
|
50
|
+
* BREAKING CHANGE: Drop Rails 5 Support
|
46
51
|
|
47
|
-
* ADDED: Drop Rails 5 Support
|
52
|
+
* ADDED: Drop Rails 5 Support
|
48
53
|
|
49
54
|
### v0.4.1 / 2023-01-14
|
50
55
|
|
51
|
-
* DOCS: Fix gem homepage
|
52
|
-
* DOCS: More gem documentation fixes
|
56
|
+
* DOCS: Fix gem homepage
|
57
|
+
* DOCS: More gem documentation fixes
|
53
58
|
|
54
59
|
### v0.4.0 / 2022-06-09
|
55
60
|
|
56
61
|
* Upgrading Base dependency version
|
57
|
-
* FIXED: Broken test file requirements
|
62
|
+
* FIXED: Broken test file requirements
|
58
63
|
|
59
64
|
### v0.3.0 / 2022-05-02
|
60
65
|
|
61
|
-
* ADDED: Make ActiveRecord 7 compatible
|
62
|
-
* FIXED: RubyGems Fallback
|
66
|
+
* ADDED: Make ActiveRecord 7 compatible
|
67
|
+
* FIXED: RubyGems Fallback
|
63
68
|
|
64
69
|
### v0.2.2 / 2021-12-01
|
65
70
|
|
66
|
-
* FIXED: Add max supported version for active record
|
71
|
+
* FIXED: Add max supported version for active record
|
67
72
|
|
68
73
|
### v0.2.1 / 2021-09-29
|
69
74
|
|
@@ -71,8 +76,8 @@
|
|
71
76
|
|
72
77
|
### v0.2.0 / 2021-09-29
|
73
78
|
|
74
|
-
* ADDED: Trace update_all and delete_all calls in ActiveRecord
|
75
|
-
* FIXED: Remove Active Record instantiation patch
|
79
|
+
* ADDED: Trace update_all and delete_all calls in ActiveRecord
|
80
|
+
* FIXED: Remove Active Record instantiation patch
|
76
81
|
|
77
82
|
### v0.1.1 / 2021-08-12
|
78
83
|
|
@@ -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|
|
24
|
+
tracer.in_span("#{self} query") do
|
25
|
+
super(*args, **kwargs)
|
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.0
|
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-10-23 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.66.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.66.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.0/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.0
|
240
240
|
post_install_message:
|
241
241
|
rdoc_options: []
|
242
242
|
require_paths:
|