opentelemetry-instrumentation-faraday 0.21.0 → 0.22.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: 535ea4c3025b2b4440abdc28f34b4a83972ea4489bb3c7211bb6a6ce6b2f96ff
4
- data.tar.gz: e620b3d12683e04d2cdaca03c6f0c540cbc67da0b5de1827c479dec0832ffc74
3
+ metadata.gz: a4ed6cf2abf66b30cc83151880d926d8b34d2de75ceada731b7965b899a52c88
4
+ data.tar.gz: eeaa98b914b1af142059fd24ec9a62d85c0e4ca7e87971d5988753aaee7d60fb
5
5
  SHA512:
6
- metadata.gz: 7a9d8c368eb5d27aff0e857dfef3daf9986cc5a39d0d0bf7eac3905e90098419c9a724e40b5c1d33553d36c22fe35dbf2c24472ed1ba1391fd63087f9b44405d
7
- data.tar.gz: 6446a28e69c1bb3185d65672e39a04d4c0e0eb32ec6e191b6aca3de1b0aae42d72355d0f35adf0de10a887f94b0a49565c2a79731773fd0cd76d53a8c1b24b86
6
+ metadata.gz: f189e9421ff87bfd6b81d80f679f6adf54aedc5dc73dff504b085b85c765b4ae940f3b5ea1fcb657fcb9b6a8800a569c305f33d2053be28ea9b0b03e10859220
7
+ data.tar.gz: 385726324d4e28a52153d8327d5c4031a37ae61e0864aa4c8427aca2dc6e4f16701e9a44b7472711bbbc14e914a4ee413cc1a880a5bf4b56d21f77340ee04aa7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Release History: opentelemetry-instrumentation-faraday
2
2
 
3
+ ### v0.22.0 / 2023-01-14
4
+
5
+ * ADDED: Add request/response hooks to more http clients
6
+ * FIXED: Stop leaking basic authentication credentials in Faraday instrumentation
7
+ * DOCS: Fix gem homepage
8
+ * DOCS: More gem documentation fixes
9
+
3
10
  ### v0.21.0 / 2022-06-09
4
11
 
5
12
  * Upgrading Base dependency version
data/README.md CHANGED
@@ -32,7 +32,7 @@ end
32
32
 
33
33
  ## Examples
34
34
 
35
- Example usage of faraday can be seen in the `./example/faraday.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby/blob/main/instrumentation/faraday/example/faraday.rb)
35
+ Example usage of faraday can be seen in the `./example/faraday.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/faraday/example/faraday.rb)
36
36
 
37
37
  ## How can I get involved?
38
38
 
@@ -47,7 +47,7 @@ Apache 2.0 license. See [LICENSE][license-github] for more information.
47
47
  [faraday-home]: https://github.com/lostisland/faraday
48
48
  [bundler-home]: https://bundler.io
49
49
  [repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
50
- [license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/main/LICENSE
50
+ [license-github]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/LICENSE
51
51
  [ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
52
52
  [community-meetings]: https://github.com/open-telemetry/community#community-meetings
53
53
  [discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
@@ -44,7 +44,7 @@ module OpenTelemetry
44
44
  def span_creation_attributes(http_method:, url:)
45
45
  instrumentation_attrs = {
46
46
  'http.method' => http_method,
47
- 'http.url' => url.to_s,
47
+ 'http.url' => OpenTelemetry::Common::Utilities.cleanse_url(url.to_s),
48
48
  'net.peer.name' => url.host
49
49
  }
50
50
  config = Faraday::Instrumentation.instance.config
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Faraday
10
- VERSION = '0.21.0'
10
+ VERSION = '0.22.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-faraday
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.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-06-09 00:00:00.000000000 Z
11
+ date: 2023-01-14 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: faraday
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 0.73.0
145
+ version: 1.41.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: 0.73.0
152
+ version: 1.41.1
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: simplecov
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -224,14 +224,14 @@ files:
224
224
  - lib/opentelemetry/instrumentation/faraday/middlewares/tracer_middleware.rb
225
225
  - lib/opentelemetry/instrumentation/faraday/patches/rack_builder.rb
226
226
  - lib/opentelemetry/instrumentation/faraday/version.rb
227
- homepage: https://github.com/open-telemetry/opentelemetry-ruby
227
+ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
228
228
  licenses:
229
229
  - Apache-2.0
230
230
  metadata:
231
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.21.0/file.CHANGELOG.html
232
- source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/faraday
233
- bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
234
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.21.0
231
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-faraday/0.22.0/file/CHANGELOG.md
232
+ source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/faraday
233
+ bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
234
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-faraday/0.22.0
235
235
  post_install_message:
236
236
  rdoc_options: []
237
237
  require_paths: