opentelemetry-instrumentation-faraday 0.23.2 → 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: 49797f2014fc132345c52a74670b98af6f28f04866499591cfe668d63a03c468
4
- data.tar.gz: 8441f4d90d00f9d14146bec86bb73eb8187c474893438b164245d66834a22103
3
+ metadata.gz: ca84b36c9ebad6ced902a9550c982fd00cc8b3a8143860855a06057defb69191
4
+ data.tar.gz: be877f3be8269fdbbc9986485e156876c50876af65072cc56d3cc436de5b28c7
5
5
  SHA512:
6
- metadata.gz: 2901b821c825b5cb8f38babd0711fc70dd8948d957b4e754b432e77bfd75b1e87ef9bb3c55550a3dc4296ab752d26238f7ab426e55722ec8019a968ebbf467bc
7
- data.tar.gz: b54fe62f8016e919f20064eb473983671c7efaf13a55ff8c1268ca4c554decf1f051add2936c836552680cfedbae709a04b5d73ca5aa8fc8ee9d1fdda82481ef
6
+ metadata.gz: 44397b2ffa9dce50ecb16545bca77ce7144515a8deea0f92d769cf8948b246c4f1ac5870d43a4c05e399c3a1280c2a41081db1774c73d93c62d1f69e523e87d2
7
+ data.tar.gz: db5a3d7c35c03dc581b03539c0a61773174061200be877e9a1083a9ac95507937c013e1c8f1dede0c8f80cbf8cea0c747e670a810d49c9f540a039f1a56493b0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.23.2 / 2023-07-21
4
8
 
5
9
  * ADDED: Update `opentelemetry-common` from [0.19.3 to 0.20.0](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/537)
@@ -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.2'
10
+ VERSION = '0.23.3'
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-faraday
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.2
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-07-21 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
@@ -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.54.1
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.54.1
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.2/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.2
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: