opentelemetry-instrumentation-action_pack 0.1.4 → 0.2.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: f54c8884f925fb4daf93d7b3e19dbeb2916bce8bb3c9c3712a62f6ca03406be9
4
- data.tar.gz: c77e2a17c3cb09e381e1ee20ef3e302d98be301fd7d35a1d3437d19f3d550e58
3
+ metadata.gz: c2fe93205bd6919c07ee1c8bcffcc4da51ef45c44ae35e43e5d9706d8bc5ec69
4
+ data.tar.gz: 434bb0a50a54867c3d125736763678660ed36155b208c2daba71866d36f12cbb
5
5
  SHA512:
6
- metadata.gz: 0d25ecdef19b36bdfde096bd8b3f240b4c10a9051695a09aa3fd042e78768e3191c694d00e102b170ef75e8e8c0ecd076beaf76f3d969a882230aa4c681bb63c
7
- data.tar.gz: ae3f39973e0f34d7ea8df5475e10f33890bf68930142941b102e303f16c5781126107ef3f9d3c9f6f6e9f2dda245813dfc3a4818660fd7da648d66172fe33493
6
+ metadata.gz: 61254f1ee327721f3acd8da527f9f3d43f844c68fcb818a864f2f1df71d66201059f5248f2c1b70c8a3895fb1877be2de6d7466bfb31fb50422963cda21b3185
7
+ data.tar.gz: bdfb5be311c901208a38228673db73c1500b7f687705e3bee6e6db6fffa09c34742211af6883cae375a793a6e2e6d30d52b5f560b6ad268c93662eb4a4cafed2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release History: opentelemetry-instrumentation-action_pack
2
2
 
3
+ ### v0.2.1 / 2022-10-04
4
+
5
+ * FIXED: Ensures the correct route is add to http.route span attribute
6
+
7
+ ### v0.2.0 / 2022-06-09
8
+
9
+ * Upgrading Base dependency version
10
+ * FIXED: Broken test file requirements
11
+
3
12
  ### v0.1.4 / 2022-05-02
4
13
 
5
14
  * FIXED: Use rails request's filtered path as http.target attribute
data/README.md CHANGED
@@ -43,7 +43,7 @@ end
43
43
 
44
44
  ## Examples
45
45
 
46
- Example usage can be seen in the `./example/trace_demonstration.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby/blob/main/instrumentation/action_pack/example/trace_demonstration.ru)
46
+ Example usage can be seen in the `./example/trace_demonstration.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/action_pack/example/trace_demonstration.ru)
47
47
 
48
48
  ## How can I get involved?
49
49
 
@@ -57,7 +57,7 @@ The `opentelemetry-instrumentation-action_pack` gem is distributed under the Apa
57
57
 
58
58
  [bundler-home]: https://bundler.io
59
59
  [repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
60
- [license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/main/LICENSE
60
+ [license-github]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/LICENSE
61
61
  [ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
62
62
  [community-meetings]: https://github.com/open-telemetry/community#community-meetings
63
63
  [discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
@@ -29,6 +29,8 @@ module OpenTelemetry
29
29
  def add_rails_route(rack_span, request)
30
30
  ::Rails.application.routes.router.recognize(request) do |route, _params|
31
31
  rack_span.set_attribute('http.route', route.path.spec.to_s)
32
+ # Rails will match on the first route - see https://guides.rubyonrails.org/routing.html#crud-verbs-and-actions
33
+ break
32
34
  end
33
35
  end
34
36
 
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module ActionPack
10
- VERSION = '0.1.4'
10
+ VERSION = '0.2.1'
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-action_pack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.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: 2022-05-02 00:00:00.000000000 Z
11
+ date: 2022-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.20.0
33
+ version: 0.21.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.20.0
40
+ version: 0.21.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: opentelemetry-instrumentation-rack
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.20.0
47
+ version: 0.21.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.20.0
54
+ version: 0.21.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: appraisal
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,28 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '1.0'
103
+ version: '1.1'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '1.0'
110
+ version: '1.1'
111
+ - !ruby/object:Gem::Dependency
112
+ name: opentelemetry-test-helpers
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: rails
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +156,14 @@ dependencies:
142
156
  requirements:
143
157
  - - "~>"
144
158
  - !ruby/object:Gem::Version
145
- version: 0.73.0
159
+ version: 1.3.0
146
160
  type: :development
147
161
  prerelease: false
148
162
  version_requirements: !ruby/object:Gem::Requirement
149
163
  requirements:
150
164
  - - "~>"
151
165
  - !ruby/object:Gem::Version
152
- version: 0.73.0
166
+ version: 1.3.0
153
167
  - !ruby/object:Gem::Dependency
154
168
  name: simplecov
155
169
  requirement: !ruby/object:Gem::Requirement
@@ -224,14 +238,14 @@ files:
224
238
  - lib/opentelemetry/instrumentation/action_pack/patches/action_controller/metal.rb
225
239
  - lib/opentelemetry/instrumentation/action_pack/railtie.rb
226
240
  - lib/opentelemetry/instrumentation/action_pack/version.rb
227
- homepage: https://github.com/open-telemetry/opentelemetry-ruby
241
+ homepage: https://github.com/open-telemetry/opentelemetry-contrib
228
242
  licenses:
229
243
  - Apache-2.0
230
244
  metadata:
231
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-action_pack/v0.1.4/file.CHANGELOG.html
232
- source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/action_pack
233
- bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
234
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-action_pack/v0.1.4
245
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby-contrib/opentelemetry-instrumentation-action_pack/v0.2.1/file.CHANGELOG.html
246
+ source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/action_pack
247
+ bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
248
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby-contrib/opentelemetry-instrumentation-action_pack/v0.2.1
235
249
  post_install_message:
236
250
  rdoc_options: []
237
251
  require_paths:
@@ -240,7 +254,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
240
254
  requirements:
241
255
  - - ">="
242
256
  - !ruby/object:Gem::Version
243
- version: 2.5.0
257
+ version: 2.6.0
244
258
  required_rubygems_version: !ruby/object:Gem::Requirement
245
259
  requirements:
246
260
  - - ">="