opentelemetry-instrumentation-rails 0.24.0 → 0.25.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: 46415aa1e9af2fefab80b048442e2288192ac32734533c1662a3be2327fbb0f0
4
- data.tar.gz: c31e5467f07e3eab70688967f7e82c4e86fee57022dd949c024c0e2fa7e5beb5
3
+ metadata.gz: 37be535aa2a795fa5e36bd74bad98675684bee53a05148747b8660478c6149f8
4
+ data.tar.gz: 2769c8ed5df1bd841f385b5677031acbb67998d7f66764a7aac49dc8a019a8f4
5
5
  SHA512:
6
- metadata.gz: 5979f94643e2b9dc2f464f9b1c966ef092e62234f866cd3cef5ff1eb898ff360dff1ede19b98b4d86905eb791e5517ae959b6bf8354c47cd97496a216306e03d
7
- data.tar.gz: f5a046a2c00f4137121e3c2f94bcbcba6bfc64260d48cd578a39c084185b554e13852bd8ec294733877d77518e5c95cf79f6911e1bd28a1526c1f0fe8bfc8fc1
6
+ metadata.gz: 3e7c78dffad1d68336983cddcf427cb20a7996238947d506e79b1c6c5bc4f61cd3862f9e3cce417af6f6f925ca54676d9e640ed02289bb0223aa7f36c4fe89b7
7
+ data.tar.gz: 2843f0bcf0301e16ca8465102ed651061acbbe6316db5f1c29bd70572ab2e36befd5e95f56a6d172eb7c50c544d713a58d341eeda839df9a36ffe89ad5480171
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Release History: opentelemetry-instrumentation-rails
2
2
 
3
+ ### v0.25.0 / 2023-02-08
4
+
5
+ * BREAKING CHANGE: Update Instrumentations GraphQL, HttpClient, Rails [#303](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/303)
6
+ * BREAKING CHANGE: Drop Rails 5 Support [#315](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/315)
7
+
8
+ * DOCS: Rails Instrumentation Compatibility
9
+
10
+ ### v0.24.1 / 2023-01-14
11
+
12
+ * DOCS: Fix gem homepage
13
+
3
14
  ### v0.24.0 / 2022-12-06
4
15
 
5
16
  * BREAKING CHANGE: Remove enable_recognize_route and span_naming options
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 Compatability
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.0'
10
+ VERSION = '0.25.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.0
4
+ version: 0.25.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: 2022-12-07 00:00:00.000000000 Z
11
+ date: 2023-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: opentelemetry-instrumentation-action_pack
28
+ name: opentelemetry-instrumentation-active_job
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
@@ -39,21 +39,21 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.4.0
41
41
  - !ruby/object:Gem::Dependency
42
- name: opentelemetry-instrumentation-action_view
42
+ name: opentelemetry-instrumentation-action_pack
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
55
  - !ruby/object:Gem::Dependency
56
- name: opentelemetry-instrumentation-active_record
56
+ name: opentelemetry-instrumentation-action_view
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
@@ -66,20 +66,34 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.4.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: opentelemetry-instrumentation-active_record
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.5.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.5.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.3.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.3.0
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: opentelemetry-instrumentation-base
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -100,28 +114,28 @@ dependencies:
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
114
128
  requirements:
115
- - - ">="
129
+ - - "~>"
116
130
  - !ruby/object:Gem::Version
117
- version: '1.17'
131
+ version: '2.4'
118
132
  type: :development
119
133
  prerelease: false
120
134
  version_requirements: !ruby/object:Gem::Requirement
121
135
  requirements:
122
- - - ">="
136
+ - - "~>"
123
137
  - !ruby/object:Gem::Version
124
- version: '1.17'
138
+ version: '2.4'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: minitest
127
141
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +184,14 @@ dependencies:
170
184
  requirements:
171
185
  - - "~>"
172
186
  - !ruby/object:Gem::Version
173
- version: 1.1.0
187
+ version: 2.0.2
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.0.2
181
195
  - !ruby/object:Gem::Dependency
182
196
  name: rails
183
197
  requirement: !ruby/object:Gem::Requirement
@@ -198,56 +212,56 @@ dependencies:
198
212
  requirements:
199
213
  - - "~>"
200
214
  - !ruby/object:Gem::Version
201
- version: 12.3.3
215
+ version: '13.0'
202
216
  type: :development
203
217
  prerelease: false
204
218
  version_requirements: !ruby/object:Gem::Requirement
205
219
  requirements:
206
220
  - - "~>"
207
221
  - !ruby/object:Gem::Version
208
- version: 12.3.3
222
+ version: '13.0'
209
223
  - !ruby/object:Gem::Dependency
210
224
  name: rubocop
211
225
  requirement: !ruby/object:Gem::Requirement
212
226
  requirements:
213
227
  - - "~>"
214
228
  - !ruby/object:Gem::Version
215
- version: 1.3.0
229
+ version: 1.44.1
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.3.0
236
+ version: 1.44.1
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
@@ -293,7 +307,7 @@ files:
293
307
  - lib/opentelemetry/instrumentation/rails/instrumentation.rb
294
308
  - lib/opentelemetry/instrumentation/rails/railtie.rb
295
309
  - lib/opentelemetry/instrumentation/rails/version.rb
296
- homepage: https://github.com/open-telemetry/opentelemetry-contrib
310
+ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
297
311
  licenses:
298
312
  - Apache-2.0
299
313
  metadata: