opentelemetry-instrumentation-ethon 0.20.0 → 0.20.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: b5913efe3f8681215e83d5272df76d76826da21188e2e28dfceb01566cbd5955
4
- data.tar.gz: 4b40a20da9f1bcd115549ec7d9576cce42213a4b4b5ec065287ae54f905c6ef8
3
+ metadata.gz: 70ecd4acad74168a5bb6bf1adb72bb94184e7136c518829de75c028cf8063eb6
4
+ data.tar.gz: 1e17820bf9a7066da2cf79a8418c675479e50f5ea47dc11aad97e0354af89599
5
5
  SHA512:
6
- metadata.gz: 58c09251ee42cb1d2430582856bb8792a401bebe9ec8ae2ef67622f1fbcd9ac0beec8cc85fe95e33f0a6d88268b010a2dfbeb5b38beda959261d01a650c6a668
7
- data.tar.gz: d91e618dde1dbc6ed619a6e97c879725da83b4e8ee7362e3909a3c53f9d0229534e9d7b352bed4f6b4f540113d7e770d3f3e6a4824841ab1cc1444820c2dc5ef
6
+ metadata.gz: 467c9972fa3c0e9589f0b59966c75c7b16c46f5dd68f5d1b1b801657617c67b8587dbfa035d958bef17f3c9c4e884d1bb473a63f57b76d0c40f66f67ddd8de99
7
+ data.tar.gz: 3f5215f653a4c0a93b9624b286351a766ca4ddd555c759d1c406d575c6db46c0b853c1c575a15665026973c67a1d87275fea00321f9aae9b28e5615b7df7f553
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release History: opentelemetry-instrumentation-ethon
2
2
 
3
+ ### v0.20.1 / 2023-01-14
4
+
5
+ * DOCS: Fix gem homepage
6
+ * DOCS: More gem documentation fixes
7
+
3
8
  ### v0.20.0 / 2022-06-09
4
9
 
5
10
  * Upgrading Base dependency version
data/README.md CHANGED
@@ -10,7 +10,7 @@ Install the gem using:
10
10
  gem install opentelemetry-instrumentation-ethon
11
11
  ```
12
12
 
13
- Or, if you use [bundler][bundler-home], include `opentelemetry-instrumentation-ethon` to your `Gemfile`.
13
+ Or, if you use [bundler][bundler-home], include `opentelemetry-instrumentation-ethon` to your `Gemfile`.
14
14
 
15
15
  ## Usage
16
16
 
@@ -32,7 +32,7 @@ end
32
32
 
33
33
  ## Examples
34
34
 
35
- Example usage of faraday can be seen in the `./example/ethon.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby/blob/main/instrumentation/ethon/example/ethon.rb)
35
+ Example usage of faraday can be seen in the `./example/ethon.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/ethon/example/ethon.rb)
36
36
 
37
37
  ## How can I get involved?
38
38
 
@@ -48,7 +48,7 @@ The `opentelemetry-instrumentation-all` gem is distributed under the Apache 2.0
48
48
  [ethon-home]:https://github.com/typhoeus/ethon
49
49
  [bundler-home]: https://bundler.io
50
50
  [repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
51
- [license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/main/LICENSE
51
+ [license-github]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/LICENSE
52
52
  [ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
53
53
  [community-meetings]: https://github.com/open-telemetry/community#community-meetings
54
54
  [discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
@@ -84,9 +84,12 @@ module OpenTelemetry
84
84
 
85
85
  def span_creation_attributes(method)
86
86
  instrumentation_attrs = {
87
- 'http.method' => method,
88
- 'http.url' => OpenTelemetry::Common::Utilities.cleanse_url(url)
87
+ 'http.method' => method
89
88
  }
89
+
90
+ http_url = OpenTelemetry::Common::Utilities.cleanse_url(url)
91
+ instrumentation_attrs['http.url'] = http_url if http_url
92
+
90
93
  config = Ethon::Instrumentation.instance.config
91
94
  instrumentation_attrs['peer.service'] = config[:peer_service] if config[:peer_service]
92
95
  instrumentation_attrs.merge!(
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Ethon
10
- VERSION = '0.20.0'
10
+ VERSION = '0.20.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-ethon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.20.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-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: ethon
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
@@ -210,14 +210,14 @@ files:
210
210
  - lib/opentelemetry/instrumentation/ethon/patches/easy.rb
211
211
  - lib/opentelemetry/instrumentation/ethon/patches/multi.rb
212
212
  - lib/opentelemetry/instrumentation/ethon/version.rb
213
- homepage: https://github.com/open-telemetry/opentelemetry-ruby
213
+ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
214
214
  licenses:
215
215
  - Apache-2.0
216
216
  metadata:
217
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ethon/v0.20.0/file.CHANGELOG.html
218
- source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/ethon
219
- bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
220
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ethon/v0.20.0
217
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-ethon/0.20.1/file/CHANGELOG.md
218
+ source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/ethon
219
+ bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
220
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-ethon/0.20.1
221
221
  post_install_message:
222
222
  rdoc_options: []
223
223
  require_paths: