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 +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +3 -3
- data/lib/opentelemetry/instrumentation/ethon/patches/easy.rb +5 -2
- data/lib/opentelemetry/instrumentation/ethon/version.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70ecd4acad74168a5bb6bf1adb72bb94184e7136c518829de75c028cf8063eb6
|
4
|
+
data.tar.gz: 1e17820bf9a7066da2cf79a8418c675479e50f5ea47dc11aad97e0354af89599
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 467c9972fa3c0e9589f0b59966c75c7b16c46f5dd68f5d1b1b801657617c67b8587dbfa035d958bef17f3c9c4e884d1bb473a63f57b76d0c40f66f67ddd8de99
|
7
|
+
data.tar.gz: 3f5215f653a4c0a93b9624b286351a766ca4ddd555c759d1c406d575c6db46c0b853c1c575a15665026973c67a1d87275fea00321f9aae9b28e5615b7df7f553
|
data/CHANGELOG.md
CHANGED
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!(
|
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.
|
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:
|
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: '
|
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: '
|
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:
|
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:
|
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://
|
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://
|
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:
|