opentelemetry-instrumentation-faraday 0.19.3 → 0.20.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8aadd6335daf906f7395df2d69282b2d82b4f80bfa74f8a0a6590f08c49feda9
|
4
|
+
data.tar.gz: 1cc9b907bd311e17a313914e9ff9bb5e664a2103dd02eca89bae632fb4fa2433
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ee811edadda6cab2c975fd64e2f52bd7b45da11b25e71fca4eadbcdae08774f52971f43bb63e041f5c57f948a654cdb7b3ee1a554044fe9a25d9089d45e7e4d
|
7
|
+
data.tar.gz: de999da08080143d51f93cfb7b14050a44c1ff768cf50756def59c507ce222d49589c9193f2a26b23935d40b847a7a9db173ea68c4d43745916be9375d95afc2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-faraday
|
2
2
|
|
3
|
+
### v0.20.0 / 2022-02-02
|
4
|
+
|
5
|
+
* ADDED: Add net.peer.name to faraday instrumentation
|
6
|
+
* FIXED: Excessive hash creation on context attr merging
|
7
|
+
|
3
8
|
### v0.19.3 / 2021-12-02
|
4
9
|
|
5
10
|
* (No significant changes)
|
@@ -43,11 +43,13 @@ module OpenTelemetry
|
|
43
43
|
|
44
44
|
def span_creation_attributes(http_method:, url:)
|
45
45
|
instrumentation_attrs = {
|
46
|
-
'http.method' => http_method,
|
46
|
+
'http.method' => http_method,
|
47
|
+
'http.url' => url.to_s,
|
48
|
+
'net.peer.name' => url.host
|
47
49
|
}
|
48
50
|
config = Faraday::Instrumentation.instance.config
|
49
51
|
instrumentation_attrs['peer.service'] = config[:peer_service] if config[:peer_service]
|
50
|
-
instrumentation_attrs.merge(
|
52
|
+
instrumentation_attrs.merge!(
|
51
53
|
OpenTelemetry::Common::HTTP::ClientContext.attributes
|
52
54
|
)
|
53
55
|
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.
|
4
|
+
version: 0.20.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:
|
11
|
+
date: 2022-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -214,10 +214,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
|
214
214
|
licenses:
|
215
215
|
- Apache-2.0
|
216
216
|
metadata:
|
217
|
-
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.
|
217
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.20.0/file.CHANGELOG.html
|
218
218
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/faraday
|
219
219
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
220
|
-
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.
|
220
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.20.0
|
221
221
|
post_install_message:
|
222
222
|
rdoc_options: []
|
223
223
|
require_paths:
|