opentelemetry-instrumentation-faraday 0.23.1 → 0.23.3

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: b4bf64427c5b89583e8aaf3d65b8f5c8af90ca1942dd8ba76796df154384d63a
4
- data.tar.gz: b3037d6534e6cf45bd26c04f74340b85c1b5782f5d1981f082199b21d5f13f46
3
+ metadata.gz: ca84b36c9ebad6ced902a9550c982fd00cc8b3a8143860855a06057defb69191
4
+ data.tar.gz: be877f3be8269fdbbc9986485e156876c50876af65072cc56d3cc436de5b28c7
5
5
  SHA512:
6
- metadata.gz: 7064ffc29e3c2d0841d9b78095de0abaae2892ef33f634d100f2828363802df2afe6847f4f76c6d272b0a31129230737c5c9affddd8840a26a8be6575abd5078
7
- data.tar.gz: f5f5dac5ef382a7f560af7050ea3aaea07c9bd1c69eb93be0dc126452d9325a3a3f9f1ce2d663433d3c4f017bffbd11828db0a48fd7d1c1d39accdd4c15d2df9
6
+ metadata.gz: 44397b2ffa9dce50ecb16545bca77ce7144515a8deea0f92d769cf8948b246c4f1ac5870d43a4c05e399c3a1280c2a41081db1774c73d93c62d1f69e523e87d2
7
+ data.tar.gz: db5a3d7c35c03dc581b03539c0a61773174061200be877e9a1083a9ac95507937c013e1c8f1dede0c8f80cbf8cea0c747e670a810d49c9f540a039f1a56493b0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release History: opentelemetry-instrumentation-faraday
2
2
 
3
+ ### v0.23.3 / 2023-10-16
4
+
5
+ * FIXED: Omit `nil` `net.peer.name` attributes
6
+
7
+ ### v0.23.2 / 2023-07-21
8
+
9
+ * ADDED: Update `opentelemetry-common` from [0.19.3 to 0.20.0](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/537)
10
+
3
11
  ### v0.23.1 / 2023-06-05
4
12
 
5
13
  * FIXED: Base config options
@@ -44,9 +44,9 @@ module OpenTelemetry
44
44
  def span_creation_attributes(http_method:, url:)
45
45
  instrumentation_attrs = {
46
46
  'http.method' => http_method,
47
- 'http.url' => OpenTelemetry::Common::Utilities.cleanse_url(url.to_s),
48
- 'net.peer.name' => url.host
47
+ 'http.url' => OpenTelemetry::Common::Utilities.cleanse_url(url.to_s)
49
48
  }
49
+ instrumentation_attrs['net.peer.name'] = url.host if url.host
50
50
  config = Faraday::Instrumentation.instance.config
51
51
  instrumentation_attrs['peer.service'] = config[:peer_service] if config[:peer_service]
52
52
  instrumentation_attrs.merge!(
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Faraday
10
- VERSION = '0.23.1'
10
+ VERSION = '0.23.3'
11
11
  end
12
12
  end
13
13
  end
@@ -16,5 +16,5 @@ module OpenTelemetry
16
16
  end
17
17
  end
18
18
 
19
- require_relative './faraday/instrumentation'
20
- require_relative './faraday/version'
19
+ require_relative 'faraday/instrumentation'
20
+ require_relative 'faraday/version'
@@ -19,4 +19,4 @@ module OpenTelemetry
19
19
  end
20
20
  end
21
21
 
22
- require_relative './instrumentation/faraday'
22
+ require_relative 'instrumentation/faraday'
@@ -4,4 +4,4 @@
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
7
- require_relative './opentelemetry/instrumentation'
7
+ require_relative 'opentelemetry/instrumentation'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-faraday
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.1
4
+ version: 0.23.3
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-06-05 00:00:00.000000000 Z
11
+ date: 2023-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.19.3
33
+ version: 0.20.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.19.3
40
+ version: 0.20.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: opentelemetry-instrumentation-base
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 2.2.0
61
+ version: '2.5'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 2.2.0
68
+ version: '2.5'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 1.50.2
145
+ version: 1.56.1
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: 1.50.2
152
+ version: 1.56.1
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: simplecov
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 3.7.6
173
+ version: '3.19'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 3.7.6
180
+ version: '3.19'
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: yard
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -192,20 +192,6 @@ dependencies:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0.9'
195
- - !ruby/object:Gem::Dependency
196
- name: yard-doctest
197
- requirement: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - "~>"
200
- - !ruby/object:Gem::Version
201
- version: 0.1.6
202
- type: :development
203
- prerelease: false
204
- version_requirements: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - "~>"
207
- - !ruby/object:Gem::Version
208
- version: 0.1.6
209
195
  description: Faraday instrumentation for the OpenTelemetry framework
210
196
  email:
211
197
  - cncf-opentelemetry-contributors@lists.cncf.io
@@ -228,10 +214,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
228
214
  licenses:
229
215
  - Apache-2.0
230
216
  metadata:
231
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-faraday/0.23.1/file/CHANGELOG.md
217
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-faraday/0.23.3/file/CHANGELOG.md
232
218
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/faraday
233
219
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
234
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-faraday/0.23.1
220
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-faraday/0.23.3
235
221
  post_install_message:
236
222
  rdoc_options: []
237
223
  require_paths: