opentelemetry-instrumentation-action_pack 0.4.0 → 0.5.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: c5cec65fd3dd369bac557558ba0a0f53555d608070e06f108de4f4838faaf857
4
- data.tar.gz: 694b4b57f041a383b00d1d4d00b51bab8529b2b94c9edfd5d2c39d50c09a0bd1
3
+ metadata.gz: 610363fb03464d4ddc097fa3dd510bec5e1372190457212535e034db19b85db1
4
+ data.tar.gz: a172306b3602352a399db1b2d345c4214315c584095a1c4d648b50e307f63bc9
5
5
  SHA512:
6
- metadata.gz: 6776c13298cb78ffc6fc3ed403def8aa75248db1962c28e4e1c05c066dd29eaaea7c5affc79916ee08dfb6a7972273c2b002fc6cfdd69bd41634c2bf3829778b
7
- data.tar.gz: b0ec634bd5c2fcc53ff685ea0834d6911c55374af1fa8ead7ac81c4dd8bb6ee036d828e633f4aa75617c3f541938e4be2476509f78d06bd9f60876899bbeaed3
6
+ metadata.gz: c6c19f659929fd77b2f4dcfb12a49ef3259f95899e30336d91d21e369b32f188aa76d8d5e6e4f7cd5dfa5cd7f70e9264cec4ddd8e9c2731ed9f7bf84919b9a1f
7
+ data.tar.gz: '08e00c9d36844ba036fe2e575cddbf67ca4fd159d6ba87a98bd13f08e1256cc7fbf1044a52190166fb14737ef9100a910b90d1ebd873cde85ae78ea5e41e4301'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release History: opentelemetry-instrumentation-action_pack
2
2
 
3
+ ### v0.5.0 / 2023-02-01
4
+
5
+ * BREAKING CHANGE: Drop Rails 5 Support
6
+
7
+ * ADDED: Drop Rails 5 Support
8
+ * FIXED: Drop Rails dependency for ActiveSupport Instrumentation
9
+
10
+ ### v0.4.1 / 2023-01-14
11
+
12
+ * FIXED: String-ify code.function Span attribute
13
+ * DOCS: Fix gem homepage
14
+ * DOCS: More gem documentation fixes
15
+
3
16
  ### v0.4.0 / 2022-12-06
4
17
 
5
18
  * BREAKING CHANGE: Remove enable_recognize_route and span_naming options
@@ -8,7 +21,7 @@
8
21
 
9
22
  ### v0.3.2 / 2022-11-16
10
23
 
11
- * * FIXED: Loosen dependency on Rack
24
+ * FIXED: Loosen dependency on Rack
12
25
 
13
26
  ### v0.3.1 / 2022-10-27
14
27
 
@@ -9,7 +9,7 @@ module OpenTelemetry
9
9
  module ActionPack
10
10
  # The Instrumentation class contains logic to detect and install the ActionPack instrumentation
11
11
  class Instrumentation < OpenTelemetry::Instrumentation::Base
12
- MINIMUM_VERSION = Gem::Version.new('5.2.0')
12
+ MINIMUM_VERSION = Gem::Version.new('6.0.0')
13
13
 
14
14
  install do |_config|
15
15
  require_railtie
@@ -18,7 +18,7 @@ module OpenTelemetry
18
18
 
19
19
  attributes_to_append = {
20
20
  OpenTelemetry::SemanticConventions::Trace::CODE_NAMESPACE => self.class.name,
21
- OpenTelemetry::SemanticConventions::Trace::CODE_FUNCTION => name
21
+ OpenTelemetry::SemanticConventions::Trace::CODE_FUNCTION => String(name)
22
22
  }
23
23
  attributes_to_append[OpenTelemetry::SemanticConventions::Trace::HTTP_TARGET] = request.filtered_path if request.filtered_path != request.fullpath
24
24
  rack_span.add_attributes(attributes_to_append)
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module ActionPack
10
- VERSION = '0.4.0'
10
+ VERSION = '0.5.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-action_pack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.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-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.17'
75
+ version: '2.4'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.17'
82
+ version: '2.4'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: minitest
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -142,28 +142,28 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 12.3.3
145
+ version: '13.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: 12.3.3
152
+ version: '13.0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rubocop
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 1.3.0
159
+ version: 1.41.1
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: 1.3.0
166
+ version: 1.41.1
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: simplecov
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -238,14 +238,14 @@ files:
238
238
  - lib/opentelemetry/instrumentation/action_pack/patches/action_controller/metal.rb
239
239
  - lib/opentelemetry/instrumentation/action_pack/railtie.rb
240
240
  - lib/opentelemetry/instrumentation/action_pack/version.rb
241
- homepage: https://github.com/open-telemetry/opentelemetry-contrib
241
+ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
242
242
  licenses:
243
243
  - Apache-2.0
244
244
  metadata:
245
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby-contrib/opentelemetry-instrumentation-action_pack/v0.4.0/file.CHANGELOG.html
245
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-action_pack/0.5.0/file/CHANGELOG.md
246
246
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/action_pack
247
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.4.0
248
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-action_pack/0.5.0
249
249
  post_install_message:
250
250
  rdoc_options: []
251
251
  require_paths: