opentelemetry-instrumentation-rails 0.24.1 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +29 -1
- data/lib/opentelemetry/instrumentation/rails/instrumentation.rb +1 -1
- data/lib/opentelemetry/instrumentation/rails/version.rb +1 -1
- metadata +33 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37be535aa2a795fa5e36bd74bad98675684bee53a05148747b8660478c6149f8
|
4
|
+
data.tar.gz: 2769c8ed5df1bd841f385b5677031acbb67998d7f66764a7aac49dc8a019a8f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e7c78dffad1d68336983cddcf427cb20a7996238947d506e79b1c6c5bc4f61cd3862f9e3cce417af6f6f925ca54676d9e640ed02289bb0223aa7f36c4fe89b7
|
7
|
+
data.tar.gz: 2843f0bcf0301e16ca8465102ed651061acbbe6316db5f1c29bd70572ab2e36befd5e95f56a6d172eb7c50c544d713a58d341eeda839df9a36ffe89ad5480171
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
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
|
+
|
3
10
|
### v0.24.1 / 2023-01-14
|
4
11
|
|
5
12
|
* 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 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('
|
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
|
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.
|
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: 2023-
|
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-
|
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-
|
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.
|
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.
|
54
|
+
version: 0.5.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name: opentelemetry-instrumentation-
|
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.
|
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.
|
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,14 +114,14 @@ dependencies:
|
|
100
114
|
requirements:
|
101
115
|
- - "~>"
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version: 2.
|
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.
|
124
|
+
version: 2.4.1
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: bundler
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,14 +184,14 @@ dependencies:
|
|
170
184
|
requirements:
|
171
185
|
- - "~>"
|
172
186
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
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:
|
194
|
+
version: 2.0.2
|
181
195
|
- !ruby/object:Gem::Dependency
|
182
196
|
name: rails
|
183
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,42 +226,42 @@ dependencies:
|
|
212
226
|
requirements:
|
213
227
|
- - "~>"
|
214
228
|
- !ruby/object:Gem::Version
|
215
|
-
version: 1.
|
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.
|
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.
|
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.
|
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.
|
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.
|
264
|
+
version: 3.18.1
|
251
265
|
- !ruby/object:Gem::Dependency
|
252
266
|
name: yard
|
253
267
|
requirement: !ruby/object:Gem::Requirement
|