opentelemetry-instrumentation-rails 0.24.1 → 0.26.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: ee3156e5055d9a0d84e3e8752daea50b4b3e5a9f4a0deefee82c8e970e76d47d
4
- data.tar.gz: fff6c10853c7e77948edd6350d81ecb87c3ab752bdbd9d02c70e2ffd696df536
3
+ metadata.gz: b8fee08d6935bf3cfc261b87a61669de38117243f654bb019cedbb1e9a9c27fc
4
+ data.tar.gz: 30fc949df24d3241dbe289f3b9679a9a962ba99a9cdb8bce653906016f7a3ae1
5
5
  SHA512:
6
- metadata.gz: 4784cade685e3f11c067d5180588d366d40a5e1dbf31fc2624a5382716c95945861eb108bee9abe3a331b16b555117be3e8852bd4253bc7ef89be92667d680b6
7
- data.tar.gz: a48fb4befea369441f135e24dfc08af67ee3877779627eba95c7b0db292d343797ce5732d18970723ebb9fddbb916dc195b25acc27334fecf3c06659a4e53dfb
6
+ metadata.gz: 00521634a660f48ceeb82495ff8deb3164502dceba2793eccea5213ac500c880df41ec125bc6fd436a242aaed81883ee88be2fc9b3c2cf0bd483a0e1b1c9ddb6
7
+ data.tar.gz: dbf0155fdebc46b93dec9cfc0acef3d1725dee9706454ef7fc83c74e7bdc528b4536f24cde24a58c5ba914def5e28750004998ecc83169f501a27485b296b2a3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release History: opentelemetry-instrumentation-rails
2
2
 
3
+ ### v0.26.0 / 2023-04-17
4
+
5
+ * BREAKING CHANGE: Drop support for EoL Ruby 2.7
6
+
7
+ * ADDED: Drop support for EoL Ruby 2.7
8
+
9
+ ### v0.25.0 / 2023-02-08
10
+
11
+ * BREAKING CHANGE: Update Instrumentations GraphQL, HttpClient, Rails [#303](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/303)
12
+ * BREAKING CHANGE: Drop Rails 5 Support [#315](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/315)
13
+
14
+ * DOCS: Rails Instrumentation Compatibility
15
+
3
16
  ### v0.24.1 / 2023-01-14
4
17
 
5
18
  * DOCS: Fix gem homepage
data/README.md CHANGED
@@ -6,14 +6,31 @@ The Rails instrumentation is a community-maintained instrumentation for the [Rub
6
6
 
7
7
  Install the gem using:
8
8
 
9
- ```
9
+ ```console
10
10
  gem install opentelemetry-instrumentation-rails
11
11
  ```
12
12
 
13
13
  Or, if you use [bundler][bundler-home], include `opentelemetry-instrumentation-rails` in your `Gemfile`.
14
14
 
15
+ ### Version Compatibility
16
+
17
+ EOL versions of Rails are not supported by the latest version of this instrumentation. If you are using an EOL version of Rails and need an earlier version of this instrumentation, then consider installing and pinning the compatible gem version, e.g.:
18
+
19
+ ```console
20
+ gem opentelemetry-instrumentation-rails, "<version>"
21
+ ```
22
+
23
+ | Rails Version | Instrumentation Version |
24
+ | --- | --- |
25
+ | `5.2` | `= 0.24.1` |
26
+ | `6.0` | `~> 0.24.1` |
27
+ | `6.1` | `~> 0.24` |
28
+ | `7.x` | `~> 0.24` |
29
+
15
30
  ## Usage
16
31
 
32
+ ### Recommended
33
+
17
34
  To use the Rails instrumentation, call `use_all` so it installs all the instrumentation gems.
18
35
 
19
36
  ```ruby
@@ -22,6 +39,17 @@ OpenTelemetry::SDK.configure do |c|
22
39
  end
23
40
  ```
24
41
 
42
+ ### Experimental
43
+
44
+ There is also an experimental Railtie available that will bootstrap the SDK:
45
+
46
+ ```ruby
47
+ # Gemfile
48
+
49
+ gem "opentelemetry-instrumentation-rails", require: "opentelemetry/instrumentation/rails/railtie"
50
+
51
+ ```
52
+
25
53
  ### Configuration options
26
54
 
27
55
  The Rails instrumentation attempts to mirror the structure of the Ruby on Rails. It is a collection of instrumentation gems for components of Rails such as Action View, Active Record, Action Pack, etc...
@@ -12,7 +12,7 @@ module OpenTelemetry
12
12
  # The Instrumentation class contains logic to detect and install the Rails
13
13
  # instrumentation
14
14
  class Instrumentation < OpenTelemetry::Instrumentation::Base
15
- MINIMUM_VERSION = Gem::Version.new('5.2.0')
15
+ MINIMUM_VERSION = Gem::Version.new('6.0.0')
16
16
 
17
17
  # This gem requires the instrumentantion gems for the different
18
18
  # components of Rails, as a result it does not have any explicit
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Rails
10
- VERSION = '0.24.1'
10
+ VERSION = '0.26.0'
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-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.1
4
+ version: 0.26.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: 2023-01-14 00:00:00.000000000 Z
11
+ date: 2023-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -30,84 +30,98 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.4.0
33
+ version: 0.6.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.4.0
40
+ version: 0.6.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: opentelemetry-instrumentation-action_view
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.3.0
47
+ version: 0.5.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.3.0
54
+ version: 0.5.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: opentelemetry-instrumentation-active_job
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.5.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.5.0
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: opentelemetry-instrumentation-active_record
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: 0.4.0
75
+ version: 0.6.0
62
76
  type: :runtime
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: 0.4.0
82
+ version: 0.6.0
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: opentelemetry-instrumentation-active_support
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - "~>"
74
88
  - !ruby/object:Gem::Version
75
- version: 0.2.0
89
+ version: 0.4.0
76
90
  type: :runtime
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - "~>"
81
95
  - !ruby/object:Gem::Version
82
- version: 0.2.0
96
+ version: 0.4.0
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: opentelemetry-instrumentation-base
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
101
  - - "~>"
88
102
  - !ruby/object:Gem::Version
89
- version: 0.21.0
103
+ version: 0.22.0
90
104
  type: :runtime
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
108
  - - "~>"
95
109
  - !ruby/object:Gem::Version
96
- version: 0.21.0
110
+ version: 0.22.0
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: appraisal
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
115
  - - "~>"
102
116
  - !ruby/object:Gem::Version
103
- version: 2.2.0
117
+ version: 2.4.1
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
122
  - - "~>"
109
123
  - !ruby/object:Gem::Version
110
- version: 2.2.0
124
+ version: 2.4.1
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: bundler
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -154,44 +168,44 @@ dependencies:
154
168
  name: opentelemetry-test-helpers
155
169
  requirement: !ruby/object:Gem::Requirement
156
170
  requirements:
157
- - - ">="
171
+ - - "~>"
158
172
  - !ruby/object:Gem::Version
159
- version: '0'
173
+ version: '0.3'
160
174
  type: :development
161
175
  prerelease: false
162
176
  version_requirements: !ruby/object:Gem::Requirement
163
177
  requirements:
164
- - - ">="
178
+ - - "~>"
165
179
  - !ruby/object:Gem::Version
166
- version: '0'
180
+ version: '0.3'
167
181
  - !ruby/object:Gem::Dependency
168
182
  name: rack-test
169
183
  requirement: !ruby/object:Gem::Requirement
170
184
  requirements:
171
185
  - - "~>"
172
186
  - !ruby/object:Gem::Version
173
- version: 1.1.0
187
+ version: 2.1.0
174
188
  type: :development
175
189
  prerelease: false
176
190
  version_requirements: !ruby/object:Gem::Requirement
177
191
  requirements:
178
192
  - - "~>"
179
193
  - !ruby/object:Gem::Version
180
- version: 1.1.0
194
+ version: 2.1.0
181
195
  - !ruby/object:Gem::Dependency
182
196
  name: rails
183
197
  requirement: !ruby/object:Gem::Requirement
184
198
  requirements:
185
199
  - - ">="
186
200
  - !ruby/object:Gem::Version
187
- version: '0'
201
+ version: '6'
188
202
  type: :development
189
203
  prerelease: false
190
204
  version_requirements: !ruby/object:Gem::Requirement
191
205
  requirements:
192
206
  - - ">="
193
207
  - !ruby/object:Gem::Version
194
- version: '0'
208
+ version: '6'
195
209
  - !ruby/object:Gem::Dependency
196
210
  name: rake
197
211
  requirement: !ruby/object:Gem::Requirement
@@ -212,42 +226,42 @@ dependencies:
212
226
  requirements:
213
227
  - - "~>"
214
228
  - !ruby/object:Gem::Version
215
- version: 1.41.1
229
+ version: 1.49.0
216
230
  type: :development
217
231
  prerelease: false
218
232
  version_requirements: !ruby/object:Gem::Requirement
219
233
  requirements:
220
234
  - - "~>"
221
235
  - !ruby/object:Gem::Version
222
- version: 1.41.1
236
+ version: 1.49.0
223
237
  - !ruby/object:Gem::Dependency
224
238
  name: simplecov
225
239
  requirement: !ruby/object:Gem::Requirement
226
240
  requirements:
227
241
  - - "~>"
228
242
  - !ruby/object:Gem::Version
229
- version: 0.17.1
243
+ version: 0.22.0
230
244
  type: :development
231
245
  prerelease: false
232
246
  version_requirements: !ruby/object:Gem::Requirement
233
247
  requirements:
234
248
  - - "~>"
235
249
  - !ruby/object:Gem::Version
236
- version: 0.17.1
250
+ version: 0.22.0
237
251
  - !ruby/object:Gem::Dependency
238
252
  name: webmock
239
253
  requirement: !ruby/object:Gem::Requirement
240
254
  requirements:
241
255
  - - "~>"
242
256
  - !ruby/object:Gem::Version
243
- version: 3.7.6
257
+ version: 3.18.1
244
258
  type: :development
245
259
  prerelease: false
246
260
  version_requirements: !ruby/object:Gem::Requirement
247
261
  requirements:
248
262
  - - "~>"
249
263
  - !ruby/object:Gem::Version
250
- version: 3.7.6
264
+ version: 3.18.1
251
265
  - !ruby/object:Gem::Dependency
252
266
  name: yard
253
267
  requirement: !ruby/object:Gem::Requirement
@@ -306,14 +320,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
306
320
  requirements:
307
321
  - - ">="
308
322
  - !ruby/object:Gem::Version
309
- version: 2.6.0
323
+ version: '3.0'
310
324
  required_rubygems_version: !ruby/object:Gem::Requirement
311
325
  requirements:
312
326
  - - ">="
313
327
  - !ruby/object:Gem::Version
314
328
  version: '0'
315
329
  requirements: []
316
- rubygems_version: 3.1.6
330
+ rubygems_version: 3.2.33
317
331
  signing_key:
318
332
  specification_version: 4
319
333
  summary: Rails instrumentation for the OpenTelemetry framework